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

A Hive SQL query should not return a ResultSet when the underlying plan does not include a FetchTask

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.12.0
    • Component/s: HiveServer2
    • Labels:
      None

      Description

      Currently, a query like "create table if not exists t2 as select * from t1" sets the hasResultSet to true in SQLOperation and in turn, the query returns a result set. However, as a DDL command, this should ideally not return a result set.

        Attachments

        1. HIVE-5137.D12453.1.patch
          5 kB
          Phabricator
        2. HIVE-5137.D12453.2.patch
          122 kB
          Phabricator
        3. HIVE-5137.D12453.3.patch
          5 kB
          Phabricator
        4. HIVE-5137.D12453.4.patch
          5 kB
          Phabricator
        5. HIVE-5137.D12453.5.patch
          5 kB
          Phabricator
        6. HIVE-5137.D12453.6.patch
          5 kB
          Phabricator
        7. HIVE-5137.D12453.7.patch
          5 kB
          Phabricator
        8. HIVE-5137.D12453.8.patch
          5 kB
          Vaibhav Gumashta

          Activity

            People

            • Assignee:
              vgumashta Vaibhav Gumashta
              Reporter:
              vgumashta Vaibhav Gumashta
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: