yuqi1129 commented on issue #9448:
URL: https://github.com/apache/gravitino/issues/9448#issuecomment-6816912130

   Hi @danhuawang, could you clarify the expected behavior for this issue so we 
can scope it for 2.0.0?
   
   The example `invalid-s3-path/lance_s3_table_8` could also be interpreted as 
a local relative path. In #9450, we discussed whether rejecting all relative 
paths would unnecessarily restrict valid Lance usage, so it would help to 
distinguish the intended behavior:
   
   1. **Which locations should be accepted or rejected?** Should relative paths 
always be rejected, or should this particular path be rejected because the 
catalog is intended to use S3? A few accepted/rejected examples would help 
define the rule.
   2. **What should the precheck verify?** Path syntax, consistency with the 
catalog's intended storage backend, or actual dataset existence/storage access? 
Should the rule differ for `create`, `register`, and `declare`? A new dataset 
does not need to exist before creation, and `declare` is metadata-only.
   3. **What was the unwanted outcome in the reported example?** Was data 
unexpectedly created on the server's local filesystem, or was unusable table 
metadata registered? What error/response did you expect instead?
   
   Current `main` already opens the target dataset to validate registration 
before changing metadata. Clarifying the remaining expected behavior would help 
us address this issue without rejecting legitimate locations.
   


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