NobiGo commented on code in PR #4690:
URL: https://github.com/apache/calcite/pull/4690#discussion_r2625321181
##########
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:
##########
@@ -11095,6 +11095,23 @@ private void checkLiteral2(String expression, String
expected) {
.ok(expected);
}
+ /** Test case of
+ * <a
href="https://issues.apache.org/jira/browse/CALCITE-7335">[CALCITE-7335]
+ * RelToSqlConverter generate sql containing Scala subqueries
+ * includes redundant parentheses</a>. */
+ @Test void testScalarSubqueryInSelectList() {
+ final String sql = "SELECT \n"
Review Comment:
LGTM, just a minor issue that needs improvement—could you format this SQL?
If it ends with a newline, then no space is needed.
--
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]