You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/08/23 12:15:39 UTC
[GitHub] [arrow] alamb commented on pull request #7967: ARROW-9751: [Rust] [DataFusion] Allow UDFs to accept multiple data types per argument
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:
users@infra.apache.org