You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Apache Arrow JIRA Bot (Jira)" <ji...@apache.org> on 2022/12/13 17:53:00 UTC

[jira] [Commented] (ARROW-17648) [C++] Add ScanOptions to support projection and filter in ToProto Read

    [ https://issues.apache.org/jira/browse/ARROW-17648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17646755#comment-17646755 ] 

Apache Arrow JIRA Bot commented on ARROW-17648:
-----------------------------------------------

This issue was last updated over 90 days ago, which may be an indication it is no longer being actively worked. To better reflect the current state, the issue is being unassigned per [project policy|https://arrow.apache.org/docs/dev/developers/bug_reports.html#issue-assignment]. Please feel free to re-take assignment of the issue if it is being actively worked, or if you plan to start that work soon.

> [C++] Add ScanOptions to support projection and filter in ToProto Read
> ----------------------------------------------------------------------
>
>                 Key: ARROW-17648
>                 URL: https://issues.apache.org/jira/browse/ARROW-17648
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Vibhatha Lakmal Abeykoon
>            Assignee: Vibhatha Lakmal Abeykoon
>            Priority: Major
>              Labels: query-engine, substrait, substrait-roundtrip
>
> When converting from an Acero plan to a Substrait plan not all scan options are fully supported.  The `projection` (partial column selection) and `filter` (pushdown filtering) support needs to be added.
> Ref:
>  
> {code:java}
> Result<std::unique_ptr<substrait::ReadRel>> ScanRelationConverter(const std::shared_ptr<Schema>& schema, const compute::Declaration& declaration,    ExtensionSet* ext_set, const ConversionOptions& conversion_options) {  
> auto read_rel = make_unique<substrait::ReadRel>();
> const auto& scan_node_options = checked_cast<const dataset::ScanNodeOptions&>(*declaration.options);  
> auto dataset = dynamic_cast<dataset::FileSystemDataset*>(scan_node_options.dataset.get()); 
> // TODO handle here{code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)