You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "s-sanjay (via GitHub)" <gi...@apache.org> on 2025/10/02 11:19:35 UTC
[I] Bug: HIVE_LOCK_ENABLED table property not respected during table creation [iceberg]
s-sanjay opened a new issue, #14237:
URL: https://github.com/apache/iceberg/issues/14237
## Describe the bug
When creating a new table in Hive, the `HIVE_LOCK_ENABLED` table property is not respected during table creation. The lock type incorrectly falls back to configuration defaults instead of using the table's metadata properties passed via SQL.
## To Reproduce
1. Create a new Iceberg table with `HIVE_LOCK_ENABLED=false` property
2. Observe that the lock type still uses configuration defaults instead of the specified property
## Expected behavior
The lock type should respect the `HIVE_LOCK_ENABLED` property specified in the table's metadata during creation.
## Root Cause
PR #10016 changed `lockObject()` to use `base` metadata for lock decisions. However, when creating a new table, `base` is `null`, which causes the lock decision to fall back to configuration defaults instead of using the table's properties.
## Additional context
Fixed in PR #14236
--
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.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: [I] Bug: HIVE_LOCK_ENABLED table property not respected during table creation [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #14237:
URL: https://github.com/apache/iceberg/issues/14237#issuecomment-4166591352
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
--
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: [I] Bug: HIVE_LOCK_ENABLED table property not respected during table creation [iceberg]
Posted by "s-sanjay (via GitHub)" <gi...@apache.org>.
s-sanjay closed issue #14237: Bug: HIVE_LOCK_ENABLED table property not respected during table creation
URL: https://github.com/apache/iceberg/issues/14237
--
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