alamb commented on pull request #7967:
URL: https://github.com/apache/arrow/pull/7967#issuecomment-678766915


    @jorgecarleitao  -- another thing I can think of would be to postpone the 
UDF resolution until the type coercion logical optimizer pass.
   
   So in other words, when converting `SQL` --> `LogicalPlan`we would postpone 
populating `data_type` in `ScalarFunction` (or maybe have a 
`ScalarFunctionPlaceholder` or something) that would not have a data_type. Then 
we would add something to the type coercion logic that would resolve 
`ScalarFunctionPlaceholder` to `ScalarFunction`.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to