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

eliminate TXN_COMPONENTS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.3.0
    • None
    • Transactions
    • None

    Description

      CREATE TABLE TXN_COMPONENTS (
        TC_TXNID bigint REFERENCES TXNS (TXN_ID),
        TC_DATABASE varchar(128) NOT NULL,
        TC_TABLE varchar(128),
        TC_PARTITION varchar(767)
      );
      

      but

      select hl_db, hl_table, hl_partition, hl_txnid, from HIVE_LOCKS where hl_txnid=" + txnid + " and hl_lock_type=" + quoteChar(LOCK_SEMI_SHARED)
      

      produces the same info...

      cc alangates

      But see TxnHandler.addDynamicPartitions()...

      Attachments

        Activity

          People

            ekoifman Eugene Koifman
            ekoifman Eugene Koifman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: