Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6226

Projection pushdown does not occur with Calcite upgrade

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 1.13.0
    • Fix Version/s: 1.13.0
    • Component/s: None
    • Labels:
      None

      Description

      I am seeing  plan issues where projection pushdown does not occur due to costing. The root cause is in DrillScanRel we are relying on utility functions to determine STAR columns which fails with the Calcite upgrade - because GroupScan is using GroupScan.ALL_COLUMNS which is different from STAR_COLUMN/DYNAMIC_STAR.

      While looking at references of SchemaPath.STAR_COLUMN, we found comparisons involving hardcoded '*'. These might also need to change to accommodate for DYNAMIC STAR.

      Arina Ielchiieva  Aman Sinha please let me know your thoughts on this issue.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gparai Gautam Kumar Parai
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: