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

   > @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.
   
   The array operator to function is syntax like `array1 ||  array2` -> 
`array_concat`, which is in ArrayFunctionRewriter now, so I'm thinking about 
whether we should move this to parser or not.
   
   


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