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

Incorrect matching of external table when validating NOT NULL constraints

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 4.0.0-alpha-1, 4.0.0-alpha-2
    • None
    • None

    Description

      AbstractAlterTablePropertiesAnalyzer.validate uses incorrect external table judgment statement:

      else if (entry.getKey().equals("external") && entry.getValue().equals("true") 

      In current hive code, we use hive tblproperties('EXTERNAL'='true' or 'EXTERNAL'='TRUE) to validate external table.

       

      Attachments

        Issue Links

          Activity

            People

              zhangbutao Butao Zhang
              zhangbutao Butao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h