Skip to content

Commit d0f30bf

Browse files
committed
Trino: Mount catalog files individually to preserve built-in catalogs
Address feedback from ebyhr on PR apache#2220 discussion r2583421945. Instead of mounting the entire catalog directory, mount individual catalog property files. This allows Trino to preserve its built-in catalogs (memory, TPCH) which are helpful during development, while still providing our custom Iceberg catalogs. Mounted files: - warehouse_rest.properties - REST catalog configuration - warehouse_hive.properties - Hive catalog configuration - config.properties - Trino server configuration
1 parent fd26ee4 commit d0f30bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/docker-compose-trino.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ services:
4343
- rest
4444
- hive
4545
volumes:
46-
- ./trino/catalog:/etc/trino/catalog
46+
- ./trino/catalog/warehouse_rest.properties:/etc/trino/catalog/warehouse_rest.properties
47+
- ./trino/catalog/warehouse_hive.properties:/etc/trino/catalog/warehouse_hive.properties
4748
- ./trino/config.properties:/etc/trino/config.properties
4849

4950
minio:

0 commit comments

Comments
 (0)