ILuffZhe commented on code in PR #3424:
URL: https://github.com/apache/calcite/pull/3424#discussion_r1322321397
##########
testkit/src/main/java/org/apache/calcite/sql/parser/SqlParserTest.java:
##########
@@ -782,6 +782,17 @@ protected static SortedSet<String> keywords(@Nullable
String dialect) {
+ "FROM UNNEST((ARRAY[1, NULL, 3, 4])) AS x");
}
+ /** Test case for <a
href="https://issues.apache.org/jira/browse/CALCITE-5996">[CALCITE-5996]</a>
+ * TRANSLATE operator is incorrectly unparsed. */
+ @Test void testTranslate() {
+ sql("select translate(col using utf8)\n"
Review Comment:
I think it would be better if you move this test case to
`testConvertAndTranslate()`.
--
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]