jayzhan211 commented on issue #10374:
URL: https://github.com/apache/datafusion/issues/10374#issuecomment-2110214611

   @alamb Do you think we should also rewrite the array operator to function in 
parser step? It is currently in optimizer step.
   I think the downside of moving array rewrite in parser step is that if any 
user expects different array function with the same syntax, then they can't do 
it since we don't have "user-defined" parser mechanism now. But the benefit is 
that we can eliminate intermediate binary expression.
   
   Have you thought about "user-defined" parser idea before, the way that user 
can define their own expression to get from the syntax? Is it useful in 
production? 🤔 


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to