Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17039 Implement optimization rewritings that rely on database SQL constraints
  3. HIVE-17042

Expose NOT NULL constraint in optimizer so constant folding can take advantage of it

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • None
    • Logical Optimizer
    • None

    Description

      We need to set the type to be not nullable for those columns.

      Among others, it would be useful to simplify IS NOT NULL, NVL, and COALESCE predicates.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jcamacho Jesús Camacho Rodríguez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: