MCPcopy Create free account
hub / github.com/apache/calcite / validate

Method validate

core/src/main/java/org/apache/calcite/tools/Planner.java:70–70  ·  view source on GitHub ↗

Validates a SQL statement. @param sqlNode Root node of the SQL parse tree. @return Validated node @throws ValidationException if not valid

(SqlNode sqlNode)

Source from the content-addressed store, hash-verified

68 * @throws ValidationException if not valid
69 */
70 SqlNode validate(SqlNode sqlNode) throws ValidationException;
71
72 /**
73 * Validates a SQL statement.

Callers 15

optimizeQuery2Method · 0.95
test5390Method · 0.95
test53902Method · 0.95
checkParseAndConvertMethod · 0.95
testValidateFailsMethod · 0.95
testPlanMethod · 0.95
checkUnionPruningMethod · 0.95
testSortPlanMethod · 0.95
testHintsMethod · 0.95

Implementers 1

PlannerImplcore/src/main/java/org/apache/calcite/

Calls

no outgoing calls

Tested by 15

optimizeQuery2Method · 0.76
test5390Method · 0.76
test53902Method · 0.76
checkParseAndConvertMethod · 0.76
testValidateFailsMethod · 0.76
testPlanMethod · 0.76
checkUnionPruningMethod · 0.76
testSortPlanMethod · 0.76
testHintsMethod · 0.76