tmater commented on PR #4844:
URL: https://github.com/apache/calcite/pull/4844#issuecomment-4280129916

   > Can you even parse the expression if you don't have a colon operator?
   Your other issue about introducing it seems fine.
   
   Yes, it is usable as-is. The current parser implementation lowers `:` access 
into the normal `DOT` / `ITEM` AST shape, this unblocks the syntax problems and 
does not break anything. Then, I do a post-parse rewrite pass that 
re-identifies colon-origin access and rewrites those calls into dedicated colon 
operators, so later planner stages can still tell them apart. It is not clean, 
but a great first milestone.
   
   I chose this shape intentionally to keep the initial upstream parser change 
small and unblock the syntax problem first, rather than mixing it with a 
broader AST/operator change in the same step. I’d be happy to follow up with 
adding the operator as a next step.


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