Ian Cook created ARROW-12788:
--------------------------------
Summary: [C++] arrow::compute::Expression::type_id() function
Key: ARROW-12788
URL: https://issues.apache.org/jira/browse/ARROW-12788
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Reporter: Ian Cook
Assignee: Ben Kietzman
There is a function {{type()}} that returns the type of a post-bind
{{Expression}} as a {{std::shared_ptr<arrow::DataType>}}:
[https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/exec/expression.h#L105]
It would be convenient to also have a function {{type_id()}} that returns this
as anĀ {{arrow::Type::type}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)