Skip to content

Commit

Permalink
Docs: clarify how to set default table location for trino on aws glue (
Browse files Browse the repository at this point in the history
  • Loading branch information
treysp authored Sep 20, 2024
1 parent 693923b commit b3841c6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/integrations/engines/trino.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,21 @@ hive.metastore.uri=thrift://example.net:9083
delta.hive-catalog-name=datalake_delta # example catalog name, can be any valid string
```

#### AWS Glue

[AWS Glue](https://aws.amazon.com/glue/) provides an implementation of the Hive metastore catalog.

Your Trino project's physical data objects are stored in a specific location, such as an [AWS S3](https://aws.amazon.com/s3/) bucket. Hive provides a default location, which you can override in its configuration file.

Set the default location for your project's tables in the Hive catalog configuration's [`hive.metastore.glue.default-warehouse-dir` parameter](https://trino.io/docs/current/object-storage/metastores.html#aws-glue-catalog-configuration-properties).

For example:

```linenums="1"
hive.metastore=glue
hive.metastore.glue.default-warehouse-dir=s3://my-bucket/
```

### Connection options

| Option | Description | Type | Required |
Expand Down

0 comments on commit b3841c6

Please sign in to comment.