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 Bug
    • Status: Closed
    • Priority: Major 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.

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

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development