World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[MINOR] docs: clarify Trino timezone behavior (#11106)
MaSai66f7f2cd913f
diff --git a/docs/iceberg-rest-engine/trino.md b/docs/iceberg-rest-engine/trino.mdindex d03bd0b4e8..aeef7425a1 100755--- a/docs/iceberg-rest-engine/trino.md+++ b/docs/iceberg-rest-engine/trino.md@@ -158,6 +158,24 @@ WITH ();```+## Known issues++### `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.++To convert a `TIMESTAMP WITH TIME ZONE` value to the current client session time zone, use+`at_timezone` together with `current_timezone()`:++```sql+SELECT+ id,+ at_timezone(timestamp_with_timezone_column, current_timezone())+FROM <catalog>.<namespace>.<table>;+```+## Gravitino connector vs Iceberg REST| Feature | Gravitino Engine Connector | Iceberg REST |