Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14642

[C++] ScanNode is not using the filter expression

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 7.0.0
    • 7.0.0
    • C++

    Description

      The ScanNode can not apply predicate push-down, it seems the are some fragments that are not able to use or setting up properly the filter expression. 

      auto options = std::make_shared<ScanOptions>();
      options->filter = filter_expression;
      compute::MakeExecNode("scan", plan.get(), {}, ScanNodeOptions{dataset, options})); 
      

      Also, if the ScanOptions doesn't have a projection expression the code just crash and I think I should create a default expression to include all the fields from the dataset schema.

      Attachments

        Issue Links

          Activity

            People

              aucahuasi Percy Camilo Triveño Aucahuasi
              aucahuasi Percy Camilo Triveño Aucahuasi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: