Search in sources :

Example 1 with SubstituteGroupbyExpressionWithVariableVisitor

use of org.apache.asterix.lang.sqlpp.rewrites.visitor.SubstituteGroupbyExpressionWithVariableVisitor in project asterixdb by apache.

the class SqlppQueryRewriter method substituteGroupbyKeyExpression.

protected void substituteGroupbyKeyExpression() throws CompilationException {
    // Substitute group-by key expressions that appear in the select clause.
    SubstituteGroupbyExpressionWithVariableVisitor substituteGbyExprVisitor = new SubstituteGroupbyExpressionWithVariableVisitor(context);
    topExpr.accept(substituteGbyExprVisitor, null);
}
Also used : SubstituteGroupbyExpressionWithVariableVisitor(org.apache.asterix.lang.sqlpp.rewrites.visitor.SubstituteGroupbyExpressionWithVariableVisitor)

Aggregations

SubstituteGroupbyExpressionWithVariableVisitor (org.apache.asterix.lang.sqlpp.rewrites.visitor.SubstituteGroupbyExpressionWithVariableVisitor)1