rambleraptor commented on code in PR #16572:
URL: https://github.com/apache/iceberg/pull/16572#discussion_r3313621951
##########
core/src/main/java/org/apache/iceberg/TableMetadata.java:
##########
@@ -312,6 +313,10 @@ public String toString() {
SUPPORTED_TABLE_FORMAT_VERSION);
Preconditions.checkArgument(
formatVersion == 1 || uuid != null, "UUID is required in format v%s",
formatVersion);
+ Preconditions.checkArgument(
Review Comment:
If I'm understanding the spec correctly, we're looking for absolute paths
(beginning with '/') or paths with schemes.
I've added support for both on the precondition. We have *a lot* of v4 tests
that have locations without schemes (but are absolute paths).
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]