Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/23816 )
Change subject: IMPALA-9935: Support individual partitions in catalog_object webUI page ...................................................................... IMPALA-9935: Support individual partitions in catalog_object webUI page This patch adds support for querying individual partition metadata through the /catalog_object webUI endpoint on both CatalogServer and Coordinator. Previously, the endpoint only supported DATABASE, TABLE, VIEW, FUNCTION, DATA_SOURCE, HDFS_CACHE_POOL, PRINCIPAL, PRIVILEGE, and AUTHZ_CACHE_INVALIDATION catalog object types. This change adds support for HDFS_PARTITION objects. Endpoint Availability: - Catalog V1 (legacy catalog mode): Works on both CatalogServer (port 25020) and Coordinator (port 25000) - Catalog V2 (local catalog mode): Only works on CatalogServer (port 25020) URL Examples: - Basic: /catalog_object?object_type=HDFS_PARTITION&object_name=mydb.mytable%3Ayear%3D2010%2Fmonth%3D3 - Multi-key: /catalog_object?object_type=HDFS_PARTITION&object_name=db.tbl%3Ayear%3D2024%2Fmonth%3D12%2Fday%3D25 - Special chars: /catalog_object?object_type=HDFS_PARTITION&object_name=db.tbl%3Ads%3D2024%252F12%252F25 Testing: - Existing tests pass - New tests added for partition object retrieval in both HTML and JSON formats - Manual testing with various partition configurations - Error handling tested for edge cases Change-Id: I5645a20283e664af12d04a9665c8870c7666a74c Reviewed-on: http://gerrit.cloudera.org:8080/23816 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M be/src/catalog/catalog-util.cc M fe/src/main/java/org/apache/impala/catalog/Catalog.java M fe/src/main/java/org/apache/impala/catalog/FeCatalogUtils.java M fe/src/main/java/org/apache/impala/catalog/HdfsTable.java M fe/src/test/java/org/apache/impala/catalog/CatalogTest.java M tests/webserver/test_web_pages.py 6 files changed, 497 insertions(+), 3 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/23816 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I5645a20283e664af12d04a9665c8870c7666a74c Gerrit-Change-Number: 23816 Gerrit-PatchSet: 12 Gerrit-Owner: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Jason Fehr <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Reviewer: Pranav Lodha <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: Riza Suminto <[email protected]> Gerrit-Reviewer: Steve Carlin <[email protected]>
