Search in sources :

Example 1 with UnsupportedOperatorsVisitor

use of org.apache.storm.sql.planner.UnsupportedOperatorsVisitor in project storm by apache.

the class QueryPlanner method validateNode.

private SqlNode validateNode(SqlNode sqlNode) throws ValidationException {
    SqlNode validatedSqlNode = planner.validate(sqlNode);
    validatedSqlNode.accept(new UnsupportedOperatorsVisitor());
    return validatedSqlNode;
}
Also used : UnsupportedOperatorsVisitor(org.apache.storm.sql.planner.UnsupportedOperatorsVisitor) SqlNode(org.apache.calcite.sql.SqlNode)

Example 2 with UnsupportedOperatorsVisitor

use of org.apache.storm.sql.planner.UnsupportedOperatorsVisitor in project storm by apache.

the class QueryPlanner method validateNode.

private SqlNode validateNode(SqlNode sqlNode) throws ValidationException {
    SqlNode validatedSqlNode = planner.validate(sqlNode);
    validatedSqlNode.accept(new UnsupportedOperatorsVisitor());
    return validatedSqlNode;
}
Also used : UnsupportedOperatorsVisitor(org.apache.storm.sql.planner.UnsupportedOperatorsVisitor) SqlNode(org.apache.calcite.sql.SqlNode)

Aggregations

SqlNode (org.apache.calcite.sql.SqlNode)2 UnsupportedOperatorsVisitor (org.apache.storm.sql.planner.UnsupportedOperatorsVisitor)2