tanclary commented on code in PR #3079:
URL: https://github.com/apache/calcite/pull/3079#discussion_r1116724818


##########
core/src/main/codegen/templates/Parser.jj:
##########
@@ -7313,6 +7361,12 @@ SqlNode JdbcFunctionCall() :
         s = span();
     }
     (
+        LOOKAHEAD(1)
+        call = DateDiffFunctionCall() {
+            name = call.getOperator().getName();
+            args = new SqlNodeList(call.getOperandList(), getPos());
+        }

Review Comment:
   I mistakenly created DatetimeDiffFunctionCall as a SqlNode instead of a 
SqlCall so it was circumventing this. I'm not entirely sure how it was passing, 
but I've updated it to be consistent with the other function calls.



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