Vibhatha Lakmal Abeykoon created ARROW-17648: ------------------------------------------------
Summary: [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 In the current ToProto the `ScanOptions` are not fully supported, the `project` and `filter` 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)