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

Push transitive closure generated predicates past aggregates

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.13.0
    • Fix Version/s: 1.15.0
    • Component/s: None
    • Labels:

      Description

      Here is a sample query that may benefit from this optimization:

      SELECT * FROM T1 WHERE a1 = 5 AND a1 IN (SELECT a2 FROM T2); 

      Here the transitive predicate a2 = 5 would be pushed past the aggregate due to this optimization.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gparai Gautam Parai
                Reporter:
                gparai Gautam Parai
                Reviewer:
                Vitalii Diravka
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: