Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-1278

LP Bug: 1465899 - Create table LIKE hive table fails silently

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • sql-general
    • None

    Description

      When using the CREATE TABLE <tbl1> LIKE <tbl2> syntax with a hive table as <tbl2>, the statement appears to execute successfully, but the table is in fact not created:

      >>create table traf_orders like hive.hive.orders;

      — SQL operation complete.
      >>invoke traf_orders;

          • ERROR[4082] Object TRAFODION.SEABASE.TRAF_ORDERS does not exist or is inaccessible.

      — SQL operation failed with errors.
      >>

      The problem seems to occur only when a Hive table is the source. This problem causes an error when attempting to update statistics for a hive table using sampling, because the sample table is not created.

      Attachments

        Activity

          People

            qfc Qifan Chen
            blfritch Barry Fritchman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: