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

[Rust] [DataFusion] Implement projection push down query optimizer rule

    XMLWordPrintableJSON

Details

    Description

      If I run a query like the following:

      SELECT MIN(fare_amount), MAX(fare_amount) FROM tripdata

      I see this logical plan:

      Logical plan: Aggregate: groupBy=[[]], aggr=[[MIN(#10), MAX(#10)]]
        TableScan: tripdata projection=None

       

      This means that every column is being loaded into arrays rather than just the two columns that I care about, resulting in terrible performance.

      Attachments

        Issue Links

          Activity

            People

              andygrove Andy Grove
              andygrove Andy Grove
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m