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

Convert runtime exceptions to semantic exceptions for validation of alter table commands

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9.0
    • 0.10.0
    • Query Processor
    • None
    • Reviewed

    Description

      validateAlterTableType in DDLTask.java does a bunch of checks to ensure that the alter table/view commands are correct (operations match table type, command macthes table type).
      This JIRA tracks moving these to semantic exceptions.

      Attachments

        1. HIVE-3311.2.patch
          20 kB
          Sambavi Muthukrishnan
        2. HIVE-3311.3.patch
          20 kB
          Sambavi Muthukrishnan

        Issue Links

          Activity

            People

              sambavi Sambavi Muthukrishnan
              sambavi Sambavi Muthukrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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