From 3f13f193637933beadd2c4c95586cd4948d24bcb Mon Sep 17 00:00:00 2001 From: Andrey Pechkurov Date: Mon, 29 Jul 2024 18:42:59 +0300 Subject: [PATCH 1/2] chore(docs): remove unsupported show server_conf statement --- reference/sql/show.md | 56 ++++++++----------------------------------- 1 file changed, 10 insertions(+), 46 deletions(-) diff --git a/reference/sql/show.md b/reference/sql/show.md index bcc28cd4..40732ced 100644 --- a/reference/sql/show.md +++ b/reference/sql/show.md @@ -32,8 +32,6 @@ and partition storage size on disk. - `SHOW SERVICE ACCOUNT` displays details of a service account (enterprise-only) - `SHOW PERMISSIONS` displays permissions of user, group or service account (enterprise-only) -- `SHOW SERVER_CONF` shows the content of QuestDB's server.conf configuration - file. (enterprise-only) ## Examples @@ -156,17 +154,13 @@ SHOW GROUPS john; ### SHOW SERVICE ACCOUNT ```questdb-sql - SHOW SERVICE ACCOUNT; - ``` or ```questdb-sql - SHOW SERVICE ACCOUNT ilp_ingestion; - ``` | auth_type | enabled | @@ -178,41 +172,28 @@ SHOW SERVICE ACCOUNT ilp_ingestion; ### SHOW SERVICE ACCOUNTS ```questdb-sql - SHOW SERVICE ACCOUNTS; - ``` -| name | - -|-------------| - +| name | +| ---------- | | management | - | svc1_admin | ```questdb-sql - SHOW SERVICE ACCOUNTS john; - ``` -| name | - -|-------------| - +| name | +| ---------- | | svc1_admin | ```questdb-sql - SHOW SERVICE ACCOUNTS admin_group; - ``` -| name | - -|-------------| - +| name | +| ---------- | | svc1_admin | ### SHOW PERMISSIONS FOR CURRENT USER @@ -252,20 +233,14 @@ SHOW PERMISSIONS admin_group; #### For a service account ```questdb-sql - SHOW PERMISSIONS ilp_ingestion; - ``` | permission | table_name | column_name | grant_option | origin | - -|------------|------------|-------------|--------------|--------| - -| SELECT | | | t | G | - -| INSERT | | | f | G | - -| UPDATE | | | f | G | +| ---------- | ---------- | ----------- | ------------ | ------ | +| SELECT | | | t | G | +| INSERT | | | f | G | +| UPDATE | | | f | G | ### SHOW SERVER_VERSION @@ -279,17 +254,6 @@ SHOW SERVER_VERSION; | -------------- | | 12.3 (questdb) | -### SHOW SERVER_CONF - -```questdb-sql -SHOW SERVER_CONF; -``` - -| name | value | -| ------------------------ | ----- | -| config.validation.strict | true | -| query.timeout.sec | 60 | - ## See also The following functions allow querying tables with filters and using the results From ac25c7ccf3ea18fc557e6e30a7bc6f2359384854 Mon Sep 17 00:00:00 2001 From: Andrey Pechkurov Date: Wed, 31 Jul 2024 14:29:09 +0300 Subject: [PATCH 2/2] Fix typo --- reference/operators/spatial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/operators/spatial.md b/reference/operators/spatial.md index 66f48de1..f4501176 100644 --- a/reference/operators/spatial.md +++ b/reference/operators/spatial.md @@ -12,7 +12,7 @@ calculations. For more information on this type of data, see the ### within `within(geohash, ...)` - evaluates if a comma-separated list of geohashes are -equal to are within another geohash: +equal to or within another geohash: - The `within` operator can only be used in `LATEST ON` queries and all symbol columns within the query **must be indexed**.