Skip to content

Commit 76ca0a8

Browse files
committed
Move multi-metalake version support info to Note section
Address review feedback: move supported version details out of the table cell and into the Note section for better visibility. Document that DROP CATALOG is not supported in multi-metalake mode.
1 parent 905f660 commit 76ca0a8

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

docs/trino-connector/configuration.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ license: "This software is licensed under the Apache License version 2."
1616
| gravitino.trino.skip-version-validation | boolean | false | The `gravitino.trino.skip-version-validation` defines whether to skip Trino version validation. Gravitino supports Trino versions between 435 and 478. If this option is `true`, unsupported Trino versions can still be used, but compatibility is not guaranteed. | No | 1.0.0 |
1717
| gravitino.client. | string | (none) | The configuration key prefix for the Gravitino client config. | No | 1.0.0 |
1818
| gravitino.trino.skip-catalog-patterns | string | (none) | The `gravitino.trino.skip-catalog-patterns` defines a comma-separated list of catalog name regex patterns that should be excluded from loading. For example, `test_.*, .*_tmp` excludes all catalogs starting with `test_` or ending with `_tmp`. | No | 1.2.0 |
19-
| gravitino.use-single-metalake | boolean | true | If `true`, only one metalake is used and catalogs are identified by `<catalog_name>`. If `false`, multi-metalake mode is enabled and catalogs are identified by `<metalake_name>.<catalog_name>`. Multi-metalake mode is supported on Trino connector versions 469-472 and 473-478. It is not supported on connector versions 446-451 or 452-468. | No | 1.2.0 |
19+
| gravitino.use-single-metalake | boolean | true | If `true`, only one metalake is used and catalogs are identified by `<catalog_name>`. If `false`, multi-metalake mode is enabled and catalogs are identified by `<metalake_name>.<catalog_name>`. | No | 1.2.0 |
2020

2121
To configure the Gravitino client, use properties prefixed with `gravitino.client.`. These properties will directly passed to the Gravitino client.
2222

2323
**Note:** Invalid configuration properties will result in exceptions. Please see [Gravitino Java client configurations](../how-to-use-gravitino-client.md#gravitino-java-client-configuration) for more support client configuration.
2424

25+
Multi-metalake mode (`gravitino.use-single-metalake=false`) is supported on Trino connector versions 435-451 and 469-478. It is not supported on versions 452-468. The `DROP CATALOG` operation is not supported in multi-metalake mode.
26+
2527
## Authentication
2628

2729
The Gravitino Trino connector supports authenticating to the Gravitino server using Simple, OAuth, and Kerberos authentication. For detailed authentication configuration, please refer to [Trino Connector Authentication](./authentication.md).

trino-connector/trino-connector-446-451/src/main/java/org/apache/gravitino/trino/connector/GravitinoConnectorFactory446.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected int getMaxSupportTrinoSpiVersion() {
4141

4242
@Override
4343
protected boolean supportCatalogNameWithMetalake() {
44-
return false;
44+
return true;
4545
}
4646

4747
@Override

0 commit comments

Comments
 (0)