[ https://issues.apache.org/jira/browse/ARROW-12291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17317552#comment-17317552 ]
Ian Cook commented on ARROW-12291: ---------------------------------- I wonder whether the function registry in the C++ library could be extended with a function that could be called exactly like {{arrow::compute::CallFunction}} but that would return the resultant data type instead of the result itself (and would do so without actually running any computations on the data). > [R] Determine the type of an unevaluated expression > --------------------------------------------------- > > Key: ARROW-12291 > URL: https://issues.apache.org/jira/browse/ARROW-12291 > Project: Apache Arrow > Issue Type: Improvement > Components: R > Reporter: Ian Cook > Priority: Major > > There would be several benefits to knowing the data type of an expression > before its value has actually been computed. Probably the greatest benefit > would be that other expressions could then behave dynamically based on the > data types of their inputs. Consider how this capability might be implemented. -- This message was sent by Atlassian Jira (v8.3.4#803005)