HonahX commented on code in PR #701:
URL: https://github.com/apache/iceberg-python/pull/701#discussion_r1591764194


##########
pyiceberg/catalog/hive.py:
##########
@@ -111,6 +122,13 @@
 HIVE2_COMPATIBLE = "hive.hive2-compatible"
 HIVE2_COMPATIBLE_DEFAULT = False
 
+DEFAULT_LOCK_CHECK_MIN_WAIT_TIME = 2
+DEFAULT_LOCK_CHECK_MAX_WAIT_TIME = 30
+DEFAULT_LOCK_CHECK_RETRIES = 5
+DEFAULT_LOCK_CHECK_MULTIPLIER = 2

Review Comment:
   Hi @kevinjqliu. I don't think these should be grouped in `TableProperties`. 
[TableProperties](https://iceberg.apache.org/docs/nightly/configuration/#reserved-table-properties)
 controls the behavior of a specifc table while `CatalogProperties` controls 
the behavior of the catalog instance. In this case, these properties controls 
the behavior of HiveCatalog's Lock and thus should be classified as 
CatalogProperties.
   
   Currently, the convention is to put each catalog's properties in their own 
files. In this case, they can be in `hive.py`.
   Does this sound good to you? :)



-- 
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-unsubscr...@iceberg.apache.org

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


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

Reply via email to