mchades opened a new pull request, #14147:
URL: https://github.com/apache/gravitino/pull/14147

   ### What changes were proposed in this pull request?
   
   Add list_metrics and list_metric_infos to the Python SemanticModelCatalog 
API, with a SemanticModelMetric result type and REST response decoding. Each 
call uses one schema-level request and preserves complete metrics, including 
Decimal precision.
   
   ### Why are the changes needed?
   
   Let Python clients discover metrics without loading each Semantic Model, 
following #14038 under #14036.
   
   Depends on #14143. This draft includes prerequisite commits and needs 
rebasing after they merge.
   
   Fixes #14146.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Adds two discovery methods with catalog-relative schema/model namespaces. 
Existing SemanticModelCatalog implementations retain compatible 
unsupported-operation defaults.
   
   ### How was this patch tested?
   
   138 Semantic Model unit tests and 14 real-server integration tests passed 
with H2, including discovery lifecycle, authorization, and Ossie regressions.
   
   From clients/client-python:
   - python -m unittest discover -s tests/unittests -t . -p '*semantic*.py'
   - python -m unittest -v 
tests.integration.test_semantic_model_metric_discovery 
tests.integration.test_semantic_model_authorization 
tests.integration.test_semantic_model_ossie
   
   Integration tests used GRAVITINO_HOME and START_EXTERNAL_GRAVITINO=true 
against the built server. Distribution build, Black, Pylint, and git diff 
--check passed.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to