Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-8531

Fold is not null filter if there are other comparison filter present on same column

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0
    • Logical Optimizer
    • None

    Description

      e.g., select * from src where key = '86' and key is not null;
      is equivalent to
      select * from src where key = '86';

      we can short circuit is not null filter and avoid its evaluation for every row at runtime.

      Attachments

        1. HIVE-8531.1.patch
          407 kB
          Ashutosh Chauhan
        2. HIVE-8531.1.patch
          10 kB
          Ashutosh Chauhan
        3. HIVE-8531.patch
          8 kB
          Ashutosh Chauhan

        Issue Links

          Activity

            People

              ashutoshc Ashutosh Chauhan
              ashutoshc Ashutosh Chauhan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: