[ https://issues.apache.org/jira/browse/ARROW-11402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neal Richardson updated ARROW-11402: ------------------------------------ Fix Version/s: (was: 9.0.0) > [C++][Dataset] Allow more aggresive implicit casts for literals > --------------------------------------------------------------- > > Key: ARROW-11402 > URL: https://issues.apache.org/jira/browse/ARROW-11402 > Project: Apache Arrow > Issue Type: Improvement > Components: C++ > Reporter: Ben Kietzman > Assignee: Ben Kietzman > Priority: Major > Labels: dataset > > After ARROW-8919, a literal in an Expression may cause unnecessary implicit > casting of a column. For example {{equal(field_ref("i8"), literal(1))}} will > cause column i8 to be promoted to the type of the literal (int32) for > comparison. Since we have access to the literal value at bind time we could > examine {{1}} and determine that it can safely be *de*moted to int8, which > produces a semantically equivalent and more performant filter. -- This message was sent by Atlassian Jira (v8.20.10#820010)