mihaibudiu commented on code in PR #3886:
URL: https://github.com/apache/calcite/pull/3886#discussion_r1693337631


##########
core/src/main/codegen/templates/Parser.jj:
##########
@@ -3980,7 +3968,7 @@ SqlNode Expression3(ExprContext exprContext) :
     {
         if (list1.size() == 1) {
             // interpret as single value or query
-            return list1.get(0);
+            return list1.get(0).clone(list1.getParserPosition());

Review Comment:
   this is actually the line that fixes the JIRA bug



-- 
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]

Reply via email to