From 704ee2da35968d0a48144d2febd57109fac7e86d Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Mon, 8 Jul 2024 17:54:55 +0200 Subject: [PATCH] Update docs/admin/troubleshooting/system-tables.rst Co-authored-by: Sebastian Utz --- docs/admin/troubleshooting/system-tables.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin/troubleshooting/system-tables.rst b/docs/admin/troubleshooting/system-tables.rst index a70e8b4c..eb744aae 100644 --- a/docs/admin/troubleshooting/system-tables.rst +++ b/docs/admin/troubleshooting/system-tables.rst @@ -224,7 +224,7 @@ the **node** system column that is available for this table. For example, this query lists the hosts and tables with the highest number of rows inside a single shard:: - cr> SELECT _node['hostname'], table_name, num_docs FROM sys.shards ORDER BY num_docs DESC LIMIT 3; + cr> SELECT node['name'], table_name, num_docs FROM sys.shards ORDER BY num_docs DESC LIMIT 3; +-------------------...+-----------...-+----------+ | _node['hostname'] | table_name | num_docs | +-------------------...+------------...+----------+