break; case VALUES: validateValues((SqlCall) node, targetRowType, scope); break; case JOIN:
protected RelDataType validateImpl(RelDataType targetRowType) { // First, validate the VALUES. If VALUES is inside INSERT, infers // the type of NULL values based on the types of target columns. validator.validateValues(values, targetRowType, scope); final RelDataType tableConstructorRowType = validator.getTableConstructorRowType(values, scope); if (tableConstructorRowType == null) { throw validator.newValidationError(values, RESOURCE.incompatibleTypes()); } return tableConstructorRowType; }
protected RelDataType validateImpl(RelDataType targetRowType) { // First, validate the VALUES. If VALUES is inside INSERT, infers // the type of NULL values based on the types of target columns. validator.validateValues(values, targetRowType, scope); final RelDataType tableConstructorRowType = validator.getTableConstructorRowType(values, scope); if (tableConstructorRowType == null) { throw validator.newValidationError(values, RESOURCE.incompatibleTypes()); } return tableConstructorRowType; }
break; case VALUES: validateValues((SqlCall) node, targetRowType, scope); break; case JOIN:
break; case VALUES: validateValues((SqlCall) node, targetRowType, scope); break; case JOIN: