This is an automated email from the ASF dual-hosted git repository.
yuqi4733 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 0f956f6065 [#7906] docs(trino-connector): Document the usage
constraints for trino.bypass.* properties (#7931)
0f956f6065 is described below
commit 0f956f6065630eb347b41990fae4ae5d003e7ca2
Author: qbhan <[email protected]>
AuthorDate: Tue Aug 5 11:22:23 2025 +0800
[#7906] docs(trino-connector): Document the usage constraints for
trino.bypass.* properties (#7931)
### What changes were proposed in this pull request?
Document the usage constraints for trino.bypass.* properties
### Why are the changes needed?
Fix: #7906
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
No
---
docs/trino-connector/supported-catalog.md | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/docs/trino-connector/supported-catalog.md
b/docs/trino-connector/supported-catalog.md
index e2882c0dac..6cb29b39be 100644
--- a/docs/trino-connector/supported-catalog.md
+++ b/docs/trino-connector/supported-catalog.md
@@ -137,7 +137,10 @@ call gravitino.system.create_catalog(
```
A prefix with `trino.bypass.` in the configuration key is used to indicate
Gravitino Trino connector to pass the Trino connector configuration to the
Gravitino catalog in the Trino runtime.
-Note that it is when a configuration property is explicitly defined in
Gravitino that the `trino.bypass.`properties which for the same property will
be skipped.
+
+Note that if Trino connector properties directly inherit values from a
Gravitino catalog, these configurations cannot be overridden through any
`trino.bypass.*` properties.
+For example, the Trino MySQL connector properties `connection-url`,
`connection-user` and `connection-password` directly inherit the `jdbc-url`,
`jdbc-user` and `jdbc-password` values defined in the Gravitino MySQL catalog.
+Therefore, defining `trino.bypass.connection-url`,
`trino.bypass.connection-user` or `trino.bypass.connection-password` will be
ommitted and does not take effect.
More Trino connector configurations can refer to:
- [Hive
catalog](https://trino.io/docs/current/connector/hive.html#hive-general-configuration-properties)