You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "rambleraptor (via GitHub)" <gi...@apache.org> on 2026/04/28 22:49:35 UTC

[PR] Schema ID should be set properly [iceberg-terraform]

rambleraptor opened a new pull request, #39:
URL: https://github.com/apache/iceberg-terraform/pull/39

   I was testing Terraform on some other catalogs.
   
   When changing the schema, we were adding a new schema (with default ID: 0) and then setting the schema to the newest ID with -1.
   
   Every new schema we added had a schema-id of 0, which the REST fixture seemed fine with. I'm changing this to explicitly look at the past schemas, grab the largest schema ID, increment it, then set the schema explicitly to that ID.


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Schema ID should be set properly [iceberg-terraform]

Posted by "rambleraptor (via GitHub)" <gi...@apache.org>.
rambleraptor commented on PR #39:
URL: https://github.com/apache/iceberg-terraform/pull/39#issuecomment-4347502901

   https://github.com/apache/iceberg/pull/16148
   
   This is the fix to the REST Fixture.


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Schema ID should be set properly [iceberg-terraform]

Posted by "rambleraptor (via GitHub)" <gi...@apache.org>.
rambleraptor commented on PR #39:
URL: https://github.com/apache/iceberg-terraform/pull/39#issuecomment-4354682656

   Scratch that, it's looking like this is an issue with BigLake. I still think this is the proper thing to do to be explicit. 


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Schema ID should be set properly [iceberg-terraform]

Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade merged PR #39:
URL: https://github.com/apache/iceberg-terraform/pull/39


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [PR] Schema ID should be set properly [iceberg-terraform]

Posted by "rambleraptor (via GitHub)" <gi...@apache.org>.
rambleraptor commented on PR #39:
URL: https://github.com/apache/iceberg-terraform/pull/39#issuecomment-4347498326

   We've actually already got a test [here](https://github.com/apache/iceberg-terraform/blob/48c4b32f34bcc242bb4bd6371548fddfe157502b/internal/provider/resource_table_test.go#L123-L155) that handles it.
   
   The REST Fixture (incorrectly) is not complaining about the fact that we're giving it a new schema with ID 0, when a schema with ID 0 already exists. 
   
   BigLake, in this case, will just pretend like you never gave it the updated schema to begin with.
   
   A place we could test is making sure that the proper information is sent over the wire...but I'd argue that it's the REST Fixture's responsibility to validate input, not for us to validate output.


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org