JingsongLi opened a new pull request, #9848:
URL: https://github.com/apache/paimon/pull/9848

   ### Purpose
   
   Add experimental semantic view definition management to REST Catalog. 
Clients can store a reusable semantic model as a named database object, 
retrieve its complete definition, list names with pagination, and delete it.
   
   Expose dedicated `/semantic-views` routes, `RESTApi` operations, and 
`RESTCatalog.semanticViewManagement()`. POST upserts the complete 
format/dialect/content document and returns the committed revision; optional 
`expectedRevision` conditions updates and deletes. Preserve document text, 
enforce the 1 MiB UTF-8 limit, and include DELETE query parameters in 
authentication input.
   
   Document SQL/semantic view name-conflict rules and integration with existing 
VIEW permissions and labels. This change supplies the Java client and wire 
contract; REST server providers implement persistence, dialect validation, 
authorization, and atomic revision checks. Query engine execution is outside 
this change.
   
   ### Tests
   
   - 52 tests passed with `mvn -pl paimon-core -am -DfailIfNoTests=false 
-DwildcardSuites=none 
-Dtest=RESTApiSemanticViewTest,RESTCatalogSemanticViewManagementTest,RequestJacksonCompatibilityTest
 test` (including standard Maven checks).
   - HTTP tests cover complete-text round trips, path and token encoding, 
conditional writes/deletes, authentication input, validation, and error 
propagation without fallback.
   - `node docs/scripts/validate-rest-openapi.js` passed: 60 catalog operations 
and 10 management operations.
   - Documentation production build passed with `COREPACK_ENABLE_AUTO_PIN=0 npm 
run build` in `docs`.
   


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