chucheng92 commented on code in PR #3644:
URL: https://github.com/apache/calcite/pull/3644#discussion_r1465919290
##########
core/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java:
##########
@@ -5538,7 +5538,7 @@ ImmutableList<RelNode> retrieveCursors() {
case ARRAY_QUERY_CONSTRUCTOR:
call = (SqlCall) expr;
query = Iterables.getOnlyElement(call.getOperandList());
- root = convertQueryRecursive(query, false, null);
+ root = convertQueryRecursive(query, true, null);
Review Comment:
thanks, fixed. however I still used top, The current codepath is passed in
from top all the way. top is also easy to understand.
--
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]