Class org::apache::calcite::prepare::CalciteSqlValidator

class CalciteSqlValidator : public SqlValidatorImpl

Based on CalciteSqlValidator in calcite-core with the addition of an addToSelectList() method override, which fixes the omission of system column checks when adding columns from an expanded star selection into the select list.

Protected Functions

RelDataType org.apache.calcite.prepare.CalciteSqlValidator.getLogicalSourceRowType(RelDataType sourceRowType, SqlInsert insert)
RelDataType org.apache.calcite.prepare.CalciteSqlValidator.getLogicalTargetRowType(RelDataType targetRowType, SqlInsert insert)
void org.apache.calcite.prepare.CalciteSqlValidator.addToSelectList(List< SqlNode > list, Set< String > aliases, List< Map.Entry< String, RelDataType >> fieldList, SqlNode exp, SelectScope scope, boolean includeSystemVars)
void org.apache.calcite.prepare.CalciteSqlValidator.checkTypeAssignment(SqlValidatorScope sourceScope, SqlValidatorTable table, RelDataType sourceRowType, RelDataType targetRowType, SqlNode query)

Private Functions

boolean org.apache.calcite.prepare.CalciteSqlValidator.isSystemColumn(final SqlNode exp, final SelectScope scope)