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

[editor] Disable "Save" button in query export unless output is filled

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.10.0
    • Fix Version/s: 3.11.0
    • Component/s: core.ui
    • Labels:
      None

      Description

      When user try to export the query result to HDFS or a new table, without fill in the mandatory input for path or the new table name, the save button should be disabled.

      Now for the three options in the dialog, without needed input, we throw different errors. We should improve the UI to prevent user to make mistakes.

      1. In HDFS (small csv) : Without giving the file name -->"Save"
      [Errno 22] Can not figure out scheme for path ""

      2. In HDFS (large file) : Without giving the path-->"Save"
      INSERT OVERWRITE DIRECTORY '' select * from queryresulttable limit 3
      "Error while compiling statement: FAILED: IllegalArgumentException Can not create a Path from an empty string"

      3. A new table : Without giving table name--> "Save"
      Server error 500.
      Sorry, there's been an error. An email was sent to your administrators. Thank you for your patience.

      Please see attached screenshots for details.

        Attachments

          Activity

            People

            • Assignee:
              krish Sai K Chirravuri
              Reporter:
              weixia weixia xu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: