mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
IMPALA-12401: Support more info types for HS2 GetInfo() API
This patch adds support for 40+ additional TGetInfoType values in the HiveServer2 GetInfo() API, improving ODBC/JDBC driver compatibility. Previously, only 3 info types were supported (CLI_SERVER_NAME, CLI_DBMS_NAME, CLI_DBMS_VER). The implementation follows the ODBC CLI specification and matches the behavior of Hive's GetInfo implementation where applicable. Testing: - Added unit tests in test_hs2.py for new info types - Tests verify correct return values and data types for each info type Change-Id: I1ce5f2b9dcc2e4633b4679b002f57b5b4ea3e8bf Reviewed-on: http://gerrit.cloudera.org:8080/23528 Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Reviewed-by: Csaba Ringhofer <csringhofer@cloudera.com>
This commit is contained in:
committed by
Csaba Ringhofer
parent
f2243b76b5
commit
068158e495
@@ -636,6 +636,7 @@ enum TGetInfoType {
|
||||
CLI_CATALOG_NAME = 10003,
|
||||
CLI_COLLATION_SEQ = 10004,
|
||||
CLI_MAX_IDENTIFIER_LEN = 10005,
|
||||
CLI_ODBC_KEYWORDS = 10006,
|
||||
}
|
||||
|
||||
union TGetInfoValue {
|
||||
|
||||
Reference in New Issue
Block a user