Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1286

Pull out common conjuncts from disjunctions

    XMLWordPrintableJSON

Details

    Description

      I see this in tpch and tpcds where predicates look like this:

      where
      ( col = 1 AND ... AND ...) or
      ( col = 1 AND ... AND ...) or
      ( col = 1 AND ... AND ...)

      It's an OR of ANDs and there are predicates that are in each OR (col = 1). This could be pulled out.

      Attachments

        Issue Links

          Activity

            People

              alex.behm Alexander Behm
              nong_impala_60e1 Nong Li
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: