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

   ### What changes were proposed in this pull request?
   
   Make `GravitinoPaimonCatalog` implement Paimon's `ProcedureCatalog` 
interface, enabling Spark `CALL` statements for Paimon procedures.
   
   - Add `ProcedureCatalog` interface to `GravitinoPaimonCatalog`
   - Implement `loadProcedure()` by delegating to the underlying Paimon 
`SparkBaseCatalog`
   
   ### Why are the changes needed?
   
   Paimon provides a set of stored procedures (e.g., `compact`, `create_tag`, 
`delete_orphan_files`) that can be invoked via Spark `CALL` statements. Without 
implementing `ProcedureCatalog`, these procedures are not accessible when using 
Gravitino as the catalog wrapper.
   
   Fix: #4723
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. Users can now call Paimon procedures via `CALL 
<catalog>.<namespace>.<procedure>(args)` when using the Gravitino Spark 
connector with a Paimon catalog.
   
   ### How was this patch tested?
   
   Compiled successfully with Spark 3.5 and passed spotlessCheck.
   
   🤖 Generated with Qwen Code (15-shotted by Qwen-Coder)


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