zhang-arvin commented on issue #13696:
URL: https://github.com/apache/gravitino/issues/13696#issuecomment-6077442689

   @zhang-arvin here — I'd like to take this.
   
   Root cause: `LanceTableOperations` (REST catalog) accepts caller-provided 
`location` for `RegisterTable`/`CreateTable`/`DeclareTable` but never validates 
that the location actually resolves to a Lance dataset belonging to the target 
catalog. Plan:
   1. Add a location-validation hook in the Lance table operation path that 
checks the dataset exists and is readable before any storage I/O.
   2. Reject (or clearly error on) locations that do not resolve to a valid 
Lance dataset.
   3. Add positive/negative unit tests in the Gravitino Lance catalog module.
   
   Please assign this to me if convenient.


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