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

Fix temp table path generation for acid table export

    XMLWordPrintableJSON

Details

    Description

      Temp tables that are analyzed by the SemanticAnalyzer get their default location set to a location in the session directory. Export of Acid tables also creates temp tables, but this is done via a plan transformation, and the temp table creation never goes through the SemanticAnalyzer, meaning the location is not set. There is some other logic in DDLTask (which I am changing in HIV-19837) which ends up automatically setting this path to the default table location in the warehouse directory. This should be fixed so that the path defaults to a location in the session directory, like with normal temp tables.

      cc ekoifman

      Attachments

        1. HIVE-19861.1.patch
          6 kB
          Jason Dere
        2. HIVE-19861.2.patch
          6 kB
          Jason Dere

        Issue Links

          Activity

            People

              jdere Jason Dere
              jdere Jason Dere
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: