You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JVM large binary accepts incomplete S3 references #9625
The JVM LargeBinary constructor only checks the s3:// prefix. References with no bucket or no object key are accepted and fail later, when a stream calls S3. The Python largebinary is being changed to reject them (#8279), so a keyless reference built on the JVM would fail in the next Python operator instead.
Before: new LargeBinary("s3://bucket") is accepted with an empty object key
After: a reference must contain both a bucket and object key
Mirror the Python check, following LakeFSStorageClient.parsePhysicalAddress, which already makes this check for LakeFS addresses. Parse the URI in the constructor, wrapping any parse error, and throw IllegalArgumentException("LargeBinary URI must include a bucket and object key, got: " + uri) when the bucket is empty or the path is empty after removing all leading slashes, as Python does. Then change the bucket-only spec case to expect rejection.
Activity
Matthew-DWM commentedon Nov 22, 2026
/take