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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.11.0
    • 0.12.0
    • HiveServer2
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: