Abhishek Rawat has uploaded this change for review. ( http://gerrit.cloudera.org:8080/13094
Change subject: IMPALA-1856: Missing datatypes from JDBC DBMD.getTypeInfo() call. ...................................................................... IMPALA-1856: Missing datatypes from JDBC DBMD.getTypeInfo() call. Updated MetadataOp::createGetTypeInfoResults to include all supported and externally visible data types, including complex types (which were missing along with some other Primitive types). Added a new function Type::isInternalType() to identify internal types such as NULL_TYPE, FIXED_UDA_INTERMEDIATE. These types are not exposed through getTypeInfo function. Testing: - Updated FrontedTest.java to ensure that the result set from MetadataOp::getTypeInfo contains all supported and externally visible types - Added new E2E test (test_get_type_info) in tests/hs2/test_hs2.py. The new test validates that the HS2 GetTypeInfo() RPC returns supported and externally visible types. Change-Id: Icdccde7c32e52ed1b0c7b13a22171e8bcd7f1f2d --- M fe/src/main/java/org/apache/impala/catalog/ScalarType.java M fe/src/main/java/org/apache/impala/catalog/Type.java M fe/src/main/java/org/apache/impala/service/MetadataOp.java M fe/src/test/java/org/apache/impala/service/FrontendTest.java M tests/hs2/test_hs2.py 5 files changed, 144 insertions(+), 35 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/94/13094/1 -- To view, visit http://gerrit.cloudera.org:8080/13094 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Icdccde7c32e52ed1b0c7b13a22171e8bcd7f1f2d Gerrit-Change-Number: 13094 Gerrit-PatchSet: 1 Gerrit-Owner: Abhishek Rawat <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]>
