hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-5137) A Hive SQL query should not return a ResultSet when the underlying plan does not include a FetchTaskSQL
Date Thu, 22 Aug 2013 08:43:51 GMT

     [ https://issues.apache.org/jira/browse/HIVE-5137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Phabricator updated HIVE-5137:
------------------------------

    Attachment: HIVE-5137.D12453.1.patch

vaibhavgumashta requested code review of "HIVE-5137 [jira] A Hive SQL query should not return
a ResultSet when the underlying plan does not include a FetchTaskSQL".

Reviewers: JIRA

HIVE-5137, WIP patch 1 for reviewing the progress. testExplainStmt in TestJdbcDriver2 will
need a relook, commented out for now.

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.

TEST PLAN
  EMPTY

REVISION DETAIL
  https://reviews.facebook.net/D12453

AFFECTED FILES
  jdbc/src/test/org/apache/hive/jdbc/TestJdbcDriver2.java
  service/src/java/org/apache/hive/service/cli/operation/SQLOperation.java

MANAGE HERALD RULES
  https://reviews.facebook.net/herald/view/differential/

WHY DID I GET THIS EMAIL?
  https://reviews.facebook.net/herald/transcript/29799/

To: JIRA, vaibhavgumashta

                
> A Hive SQL query should not return a ResultSet when the underlying plan does not include
a FetchTaskSQL 
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-5137
>                 URL: https://issues.apache.org/jira/browse/HIVE-5137
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 0.11.0
>            Reporter: Vaibhav Gumashta
>            Assignee: Vaibhav Gumashta
>         Attachments: HIVE-5137.D12453.1.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message