kunwp1 commented on code in PR #7359:
URL: https://github.com/apache/texera/pull/7359#discussion_r3731533951
##########
common/config/src/main/scala/org/apache/texera/common/config/StorageConfig.scala:
##########
@@ -90,6 +90,12 @@ object StorageConfig {
val cleanupRetentionHours: Int =
conf.getInt("storage.cleanup.retention-hours")
val cleanupIntervalMinutes: Int =
conf.getInt("storage.cleanup.interval-minutes")
+ // Per-user warehouses (#6870). On only when the switch is on AND the
catalog is REST
+ // (Lakekeeper): warehouses are Lakekeeper entities, so any other catalog
type keeps
+ // the feature off regardless of the switch.
+ val warehousesEnabled: Boolean =
+ conf.getBoolean("storage.warehouse.enabled") && icebergCatalogType ==
"rest"
Review Comment:
Maybe change it to `warehouseEnabled`?
--
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]