From 81228c93057441b1f72a03f90309bf7348d54fb1 Mon Sep 17 00:00:00 2001 From: Manfred Moser Date: Fri, 18 Oct 2024 12:41:32 -0700 Subject: [PATCH] Update example docs for SET SESSION Specifically change to an example from the Iceberg connector, since current example with the Accumulo connector is no longer valid when that connector is removed. --- docs/src/main/sphinx/sql/set-session.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/src/main/sphinx/sql/set-session.md b/docs/src/main/sphinx/sql/set-session.md index 67b7550f0b9cf..eb221f9f4585d 100644 --- a/docs/src/main/sphinx/sql/set-session.md +++ b/docs/src/main/sphinx/sql/set-session.md @@ -40,20 +40,22 @@ lost. The following example sets a system session property to enable optimized hash generation: -``` +```sql SET SESSION optimize_hash_generation = true; ``` -The following example sets the `optimize_locality_enabled` catalog session -property for an Accumulo catalog named `acc01`: +The following example sets the `incremental_refresh_enabled` catalog session +property for a catalog using the [](/connector/iceberg) named `example`: -``` -SET SESSION acc01.optimize_locality_enabled = false; +```sql +SET SESSION example.incremental_refresh_enabled=false; ``` -The example `acc01.optimize_locality_enabled` catalog session property -does not apply to any other catalog, even if another catalog also uses the -Accumulo connector. +The related catalog configuration property `iceberg.incremental-refresh-enabled` +defaults to `true`, and the session property allows you to override this setting +in for specific catalog and the current session. The +`example.incremental_refresh_enabled` catalog session property does not apply to +any other catalog, even if another catalog also uses the Iceberg connector. ## See also