gustavodemorais commented on code in PR #28399:
URL: https://github.com/apache/flink/pull/28399#discussion_r3402563105
##########
flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/calcite/FlinkCalciteSqlValidatorTest.java:
##########
@@ -138,4 +138,11 @@ void testExplainUpsertInto() {
.hasMessageContaining(
"UPSERT INTO statement is not supported. Please use
INSERT INTO instead.");
}
+
+ @Test
+ void testMixedPositionalAndNamedArguments() {
+ assertThatThrownBy(() -> plannerMocks.getParser().parse("SELECT
myFunc(1, b => 2) FROM t1"))
Review Comment:
Sure, done. Take a look
https://github.com/apache/flink/pull/28399/commits/4a4d514a9fc7794ca897b0fd08ae54cc6caaf631
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]