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

Use [NOT] ENFORCED for column constraint characteristics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • None

    Description

      From HIVE-16575:

      SQL:2011 spec, 10.8, uses [ NOT ] ENFORCED for column constraint characteristics.
      I think Oracle invented DISABLE and NORELY and maybe others have copied it over time.
      A quick check I see DB2 uses the [ NOT ] ENFORCED. Teradata uses something else entirely.
      Personally I think there are advantages to adopting the standard approach.
      There is no standard approach for hinting the optimizer so we're on our own there.

      Attachments

        1. HIVE-16604.patch
          11 kB
          jcamachorodriguez

        Issue Links

          Activity

            People

              jcamacho Jesús Camacho Rodríguez
              cartershanklin Carter Shanklin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: