You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alexey Diomin (JIRA)" <ji...@apache.org> on 2011/03/18 14:11:29 UTC
[jira] Created: (HIVE-2062) HivePreparedStatement.executeImmediate
always throw exception
HivePreparedStatement.executeImmediate always throw exception
-------------------------------------------------------------
Key: HIVE-2062
URL: https://issues.apache.org/jira/browse/HIVE-2062
Project: Hive
Issue Type: Bug
Components: JDBC
Affects Versions: 0.7.0
Reporter: Alexey Diomin
Priority: Critical
executeImmediate:
try {
clearWarnings();
resultSet = null;
client.execute(sql);
}
but:
public void clearWarnings() throws SQLException {
// TODO Auto-generated method stub
throw new SQLException("Method not supported");
}
in result all calls executeQuery() for prepared statement return exception
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HIVE-2062) HivePreparedStatement.executeImmediate
always throw exception
Posted by "Alexey Diomin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Diomin updated HIVE-2062:
--------------------------------
Assignee: Alexey Diomin
Status: Patch Available (was: Open)
> HivePreparedStatement.executeImmediate always throw exception
> -------------------------------------------------------------
>
> Key: HIVE-2062
> URL: https://issues.apache.org/jira/browse/HIVE-2062
> Project: Hive
> Issue Type: Bug
> Components: JDBC
> Affects Versions: 0.7.0
> Reporter: Alexey Diomin
> Assignee: Alexey Diomin
> Priority: Critical
> Attachments: HIVE-2062.patch
>
>
> executeImmediate:
> try {
> clearWarnings();
> resultSet = null;
> client.execute(sql);
> }
> but:
> public void clearWarnings() throws SQLException {
> // TODO Auto-generated method stub
> throw new SQLException("Method not supported");
> }
> in result all calls executeQuery() for prepared statement return exception
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HIVE-2062) HivePreparedStatement.executeImmediate
always throw exception
Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach updated HIVE-2062:
---------------------------------
Fix Version/s: 0.8.0
> HivePreparedStatement.executeImmediate always throw exception
> -------------------------------------------------------------
>
> Key: HIVE-2062
> URL: https://issues.apache.org/jira/browse/HIVE-2062
> Project: Hive
> Issue Type: Bug
> Components: JDBC
> Affects Versions: 0.7.0
> Reporter: Alexey Diomin
> Assignee: Alexey Diomin
> Priority: Critical
> Fix For: 0.8.0
>
> Attachments: HIVE-2062.patch
>
>
> executeImmediate:
> try {
> clearWarnings();
> resultSet = null;
> client.execute(sql);
> }
> but:
> public void clearWarnings() throws SQLException {
> // TODO Auto-generated method stub
> throw new SQLException("Method not supported");
> }
> in result all calls executeQuery() for prepared statement return exception
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HIVE-2062) HivePreparedStatement.executeImmediate
always throw exception
Posted by "Alexey Diomin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Diomin updated HIVE-2062:
--------------------------------
Attachment: HIVE-2062.patch
> HivePreparedStatement.executeImmediate always throw exception
> -------------------------------------------------------------
>
> Key: HIVE-2062
> URL: https://issues.apache.org/jira/browse/HIVE-2062
> Project: Hive
> Issue Type: Bug
> Components: JDBC
> Affects Versions: 0.7.0
> Reporter: Alexey Diomin
> Priority: Critical
> Attachments: HIVE-2062.patch
>
>
> executeImmediate:
> try {
> clearWarnings();
> resultSet = null;
> client.execute(sql);
> }
> but:
> public void clearWarnings() throws SQLException {
> // TODO Auto-generated method stub
> throw new SQLException("Method not supported");
> }
> in result all calls executeQuery() for prepared statement return exception
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HIVE-2062) HivePreparedStatement.executeImmediate
always throw exception
Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Namit Jain updated HIVE-2062:
-----------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
Committed. Thanks Alexey
> HivePreparedStatement.executeImmediate always throw exception
> -------------------------------------------------------------
>
> Key: HIVE-2062
> URL: https://issues.apache.org/jira/browse/HIVE-2062
> Project: Hive
> Issue Type: Bug
> Components: JDBC
> Affects Versions: 0.7.0
> Reporter: Alexey Diomin
> Assignee: Alexey Diomin
> Priority: Critical
> Attachments: HIVE-2062.patch
>
>
> executeImmediate:
> try {
> clearWarnings();
> resultSet = null;
> client.execute(sql);
> }
> but:
> public void clearWarnings() throws SQLException {
> // TODO Auto-generated method stub
> throw new SQLException("Method not supported");
> }
> in result all calls executeQuery() for prepared statement return exception
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HIVE-2062)
HivePreparedStatement.executeImmediate always throw exception
Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13008700#comment-13008700 ]
Namit Jain commented on HIVE-2062:
----------------------------------
+1
> HivePreparedStatement.executeImmediate always throw exception
> -------------------------------------------------------------
>
> Key: HIVE-2062
> URL: https://issues.apache.org/jira/browse/HIVE-2062
> Project: Hive
> Issue Type: Bug
> Components: JDBC
> Affects Versions: 0.7.0
> Reporter: Alexey Diomin
> Assignee: Alexey Diomin
> Priority: Critical
> Attachments: HIVE-2062.patch
>
>
> executeImmediate:
> try {
> clearWarnings();
> resultSet = null;
> client.execute(sql);
> }
> but:
> public void clearWarnings() throws SQLException {
> // TODO Auto-generated method stub
> throw new SQLException("Method not supported");
> }
> in result all calls executeQuery() for prepared statement return exception
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira