{
return Field.newUnqualified(symbol.getName(), symbolAllocator.getTypes().get(symbol));
}
})
.list();
return expressionAnalyzer.analyze(expression, new TupleDescriptor(fields), new AnalysisContext());
}
private JoinNode tryNormalizeToInnerJoin(JoinNode node, Expression inheritedPredicate)
{
Preconditions.checkArgument(EnumSet.of(INNER, RIGHT, LEFT, CROSS).contains(node.getType()), "Unsupported join type: %s", node.getType());