World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[#11077] docs: Document Trino 482 fix for SHOW SCHEMAS on Gravitino IRC (#11808)
MaSaiae9a52191f19
diff --git a/docs/iceberg-rest-engine/trino.md b/docs/iceberg-rest-engine/trino.mdindex 0302314b49..2a438830d6 100755--- a/docs/iceberg-rest-engine/trino.md+++ b/docs/iceberg-rest-engine/trino.md@@ -190,14 +190,24 @@ WITH (## Known Issues+### `SHOW SCHEMAS` Fails on Gravitino IRC (OAuth2, Nested Namespaces)++**Cause:** When Trino connects to Gravitino IRC with `iceberg.rest-catalog.security=OAUTH2`,+`iceberg.rest-catalog.nested-namespace-enabled=true`, and `iceberg.rest-catalog.session=NONE`+(the default), `SHOW SCHEMAS` recursively calls Iceberg REST `listNamespaces`. On Trino releases+before 482, each recursive call creates a separate OAuth session, which can trigger excessive token+requests and cause errors such as `Connection pool shut down` or `StackOverflowError`.++**Solution:** Upgrade to Trino 482+.+### `TIMESTAMP WITH TIME ZONE` Values Are Not Adjusted to the Client Session Time Zone-For `TIMESTAMP WITH TIME ZONE` values, Trino does not adjust query results according to the client-session time zone. Unlike Spark and Flink, Trino displays these values based on the stored-timestamp-with-time-zone value.+**Cause:** For `TIMESTAMP WITH TIME ZONE` values, Trino does not adjust query results according to+the client session time zone. Unlike Spark and Flink, Trino displays these values based on the+stored timestamp-with-time-zone value.-To convert a `TIMESTAMP WITH TIME ZONE` value to the current client session time zone, use-`at_timezone` together with `current_timezone()`:+**Solution:** To convert a `TIMESTAMP WITH TIME ZONE` value to the current client session time+zone, use `at_timezone` together with `current_timezone()`:```sqlSELECT