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

   ### What changes were proposed in this pull request?
   
   Load Doris list and range partition assignments from `SHOW PARTITIONS` when 
loading table metadata.
   
   Reuse the existing Doris partition conversion logic for both table loading 
and partition operations, and add coverage for loaded list/range assignments.
   
   ### Why are the changes needed?
   
   Doris table loading currently restores only partition fields from `SHOW 
CREATE TABLE`. As a result, list and range partition assignments are returned 
as empty arrays.
   
   Fix: #12093
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. Loading a Doris table now returns its list or range partition 
assignments in `partitioning.assignments`.
   
   ### How was this patch tested?
   
   - Added assertions for loaded range partition assignments.
   - Added assertions for loaded multi-column list partition assignments.
   - Ran:
   
     `./gradlew :catalogs:catalog-jdbc-doris:spotlessApply 
:catalogs:catalog-jdbc-doris:test -PskipITs -PskipDockerTests=true`
   
   The Docker-tagged Doris integration tests were not executed locally because 
Docker was unavailable.


-- 
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