Skip to content

Commit 32255af

Browse files
committed
Resove conflicts
1 parent 3b6bfba commit 32255af

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

babel/src/test/java/org/apache/calcite/test/BabelTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ names, is(
258258

259259
// To verify that the exclude list contains all columns in the table
260260
fixture.withSql("select ^*^ exclude(deptno, name) from dept")
261-
.fails("SELECT \\* EXCLUDE list cannot exclude all columns");
261+
.fails("SELECT \\* EXCLUDE/EXCEPT list cannot exclude all columns");
262262
}
263263

264264
/** Tests that DATEADD, DATEDIFF, DATEPART, DATE_PART allow custom time

core/src/main/java/org/apache/calcite/runtime/CalciteResource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -807,13 +807,13 @@ ExInst<CalciteException> illegalArgumentForTableFunctionCall(String a0,
807807
@BaseMessage("SELECT * requires a FROM clause")
808808
ExInst<SqlValidatorException> selectStarRequiresFrom();
809809

810-
@BaseMessage("EXCLUDE clause must follow a STAR expression")
810+
@BaseMessage("EXCLUDE/EXCEPT clause must follow a STAR expression")
811811
ExInst<CalciteException> selectExcludeRequiresStar();
812812

813813
@BaseMessage("SELECT * EXCLUDE/EXCEPT list contains unknown column(s): {0}")
814814
ExInst<SqlValidatorException> selectStarExcludeListContainsUnknownColumns(String columns);
815815

816-
@BaseMessage("SELECT * EXCLUDE list cannot exclude all columns")
816+
@BaseMessage("SELECT * EXCLUDE/EXCEPT list cannot exclude all columns")
817817
ExInst<SqlValidatorException> selectStarExcludeCannotExcludeAllColumns();
818818

819819
@BaseMessage("Group function ''{0}'' can only appear in GROUP BY clause")

core/src/main/resources/org/apache/calcite/runtime/CalciteResource.properties

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,9 @@ CannotStreamResultsForNonStreamingInputs=Cannot stream results of a query with n
266266
MinusNotAllowed=MINUS is not allowed under the current SQL conformance level
267267
SelectMissingFrom=SELECT must have a FROM clause
268268
SelectStarRequiresFrom=SELECT * requires a FROM clause
269-
SelectExcludeRequiresStar=EXCLUDE clause must follow a STAR expression
270-
SelectStarExcludeListContainsUnknownColumns=SELECT * EXCLUDE list contains unknown column(s): {0}
271-
SelectStarExcludeCannotExcludeAllColumns=SELECT * EXCLUDE list cannot exclude all columns
269+
SelectExcludeRequiresStar=EXCLUDE/EXCEPT clause must follow a STAR expression
272270
SelectStarExcludeListContainsUnknownColumns=SELECT * EXCLUDE/EXCEPT list contains unknown column(s): {0}
271+
SelectStarExcludeCannotExcludeAllColumns=SELECT * EXCLUDE/EXCEPT list cannot exclude all columns
273272
GroupFunctionMustAppearInGroupByClause=Group function ''{0}'' can only appear in GROUP BY clause
274273
AuxiliaryWithoutMatchingGroupCall=Call to auxiliary group function ''{0}'' must have matching call to group function ''{1}'' in GROUP BY clause
275274
PivotAggMalformed=Measure expression in PIVOT must use aggregate function

0 commit comments

Comments
 (0)