Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-2486

Fix Hive query editor bug in "Save the results to HDFS or a new Hive table"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.8.0
    • Component/s: con.hive
    • Labels:

      Description

      Hive query editor allows users to save Hive query results to HDFS or a new Hive table. However, when users have multiple query statements in the Hive query editor, the editor wraps all the queries inserts them into the 'CREATE TABLE AS SELECT ...’ or 'INSERT OVERWRITE DIRECTORY SELECT ...' statement to save the query, which causes syntax error. The fix takes only the last SELECT statement being executed and saves it, and it also provides an error message that only SELECT statement can be saved.

        Attachments

          Activity

            People

            • Assignee:
              shuodiaoaws Shuo Diao
              Reporter:
              shuodiaoaws Shuo Diao
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: