[ https://issues.apache.org/jira/browse/ARROW-8921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neal Richardson updated ARROW-8921: ----------------------------------- Fix Version/s: (was: 3.0.0) 4.0.0 > [C++] Add "TypeResolver" class interface to replace current > OutputType::Resolver pattern > ---------------------------------------------------------------------------------------- > > Key: ARROW-8921 > URL: https://issues.apache.org/jira/browse/ARROW-8921 > Project: Apache Arrow > Issue Type: Improvement > Components: C++ > Reporter: Wes McKinney > Priority: Major > Fix For: 4.0.0 > > > Like the {{TypeMatcher}} for extensible input type checking, TypeResolver > will allow more flexibility with respect to the output type resolution rule. > Currently the resolver function is defined as > {code} > using Resolver = > std::function<Result<ValueDescr>(KernelContext*, const > std::vector<ValueDescr>&)>; > {code} > By changing to a {{TypeResolver}} interface with a virtual Resolve function, > we also can provide for better human-readability when printing kernel > signatures (by having {{TypeResolver::ToString}}) and permitting > TypeResolvers to be compared -- This message was sent by Atlassian Jira (v8.3.4#803005)