FANNG1 opened a new issue, #11578:
URL: https://github.com/apache/gravitino/issues/11578

   **Version**
   main branch
   
   **Describe what's wrong**
   When Spark Lance uses Gravitino Lance REST (`impl=rest`) against a 
namespace-backed table, the write/commit path can call 
`describeTable(version=N)` instead of latest-only `describeTable()`.
   
   Gravitino Lance REST currently rejects that request with:
   `Unsupported: Describing specific table version is not supported.`
   
   As a result, INSERT/commit on existing tables fails even though 
`describeTable()` without a version works.
   
   **Error message and/or stacktrace**
   `Unsupported: Describing specific table version is not supported.`
   
   **How to reproduce**
   1. Configure a Lance catalog in Gravitino with `impl=rest` and create a 
table.
   2. Use Spark Lance against the Gravitino REST endpoint with a 
namespace-backed table.
   3. Run `INSERT INTO` on an existing table.
   4. During commit, Lance Spark calls `namespace.describeTable(version=1)` and 
the request fails.
   
   **Additional context**
   - `describeTable()` without a version works.
   - The failure only appears when the version is non-empty.
   - This looks like a cross-project compatibility issue between Gravitino 
Lance REST and Spark Lance's versioned commit path.
   - If versioned describe is intentionally unsupported, Spark Lance may need 
to avoid passing `version` in this path or gate the behavior more carefully.
   


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