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

'transactional' table property for ACID should be case insensitive

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.3.0
    • Component/s: Transactions
    • Labels:

      Description

      Given:

      CREATE TABLE mytable (col1 int, col2 string)
          CLUSTERED BY (col1) INTO 2 BUCKETS
          STORED AS ORC TBLPROPERTIES('TRANSACTIONAL'='TRUE');
      

      update/delete statements will fail with

      FAILED: SemanticException [Error 10122]: Bucketized tables do not support INSERT INTO: Table: default.mytable
      

      but 'transactional' (in lower case) works fine

        Attachments

        1. HIVE-11883.patch
          4 kB
          Eugene Koifman

          Issue Links

            Activity

              People

              • Assignee:
                ekoifman Eugene Koifman
                Reporter:
                ekoifman Eugene Koifman
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: