Skip to content

Commit

Permalink
Add delta catalog settings
Browse files Browse the repository at this point in the history
  • Loading branch information
findinpath authored and findepi committed May 24, 2022
1 parent 0da6e01 commit f7c64e5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions testing/trino-server-dev/etc/catalog/delta.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
connector.name=delta-lake

# Configuration appropriate for Hive as started by product test environment, e.g.
# testing/bin/ptl env up --environment multinode-minio-data-lake --without-trino
# On Mac, this additionally requires that you add "<your external IP> hadoop-master" to /etc/hosts
hive.metastore.uri=thrift://localhost:9083

# MinIO uses 9000 by default, but this change conflicts with Hadoop
hive.s3.endpoint=http://localhost:9080
hive.s3.path-style-access=true
hive.s3.ssl.enabled=false
hive.s3.aws-access-key=minio-access-key
hive.s3.aws-secret-key=minio-secret-key

# Fail-fast in development
hive.metastore.thrift.client.max-retry-time=1s
hive.s3.max-client-retries=1
# Enable write support for all supported file systems in development
delta.enable-non-concurrent-writes=true
1 change: 1 addition & 0 deletions testing/trino-server-dev/etc/config.properties
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ plugin.bundles=\
../../plugin/trino-resource-group-managers/pom.xml,\
../../plugin/trino-password-authenticators/pom.xml, \
../../plugin/trino-iceberg/pom.xml,\
../../plugin/trino-delta-lake/pom.xml,\
../../plugin/trino-blackhole/pom.xml,\
../../plugin/trino-cassandra/pom.xml,\
../../plugin/trino-memory/pom.xml,\
Expand Down

0 comments on commit f7c64e5

Please sign in to comment.