You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "N Campbell (Jira)" <ji...@apache.org> on 2022/04/28 13:14:00 UTC
[jira] [Created] (HIVE-26186) Resultset returned by getTables does not order data per JDBC specification
N Campbell created HIVE-26186:
---------------------------------
Summary: Resultset returned by getTables does not order data per JDBC specification
Key: HIVE-26186
URL: https://issues.apache.org/jira/browse/HIVE-26186
Project: Hive
Issue Type: Bug
Components: JDBC
Affects Versions: 3.1.3
Environment: !HiveMeta.png!
Reporter: N Campbell
Attachments: HiveMeta.png
JDBC specification states that data in a Resultset must be ordered.
A simple Java program issues a request to getTables
ResultSet rs = dbMeta.getTables( {*}null{*}, "cert", "%", {*}null{*});
The Resultset is not order per JDBC spec
[https://docs.oracle.com/javase/8/docs/api/java/sql/DatabaseMetaData.html#getTables-java.lang.String-java.lang.String-java.lang.String-java.lang.String:A-]
Happens with various releases including
hive-jdbc-3.1.3000.7.1.7.0-551
hive-jdbc-3.1.3000.7.1.6.0-297
--
This message was sent by Atlassian Jira
(v8.20.7#820007)