Skip to content

Commit

Permalink
IGNITE-18946 Fix refresh command about the statistic in the ddl doc - F…
Browse files Browse the repository at this point in the history
…ixes apache#10578.

Signed-off-by: Aleksey Plekhanov <plehanov.alex@gmail.com>
  • Loading branch information
chenjian2664 authored and alex-plekhanov committed Mar 3, 2023
1 parent c569d86 commit 511736b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/_docs/sql-reference/ddl.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -612,13 +612,13 @@ Possible parameters:
* SIZE - Average size of column values (in bytes).
* DISTINCT - Number of distinct non-null values in column.

== REFRESH
== REFRESH STATISTICS

The command refreshes link:SQL/sql-statistics[statistics,window=_blank].

[source,sql]
----
REFRESH 'schemaName'.'tableName'(column1, column2);
REFRESH STATISTICS 'schemaName'.'tableName'(column1, column2);
----

Parameters:
Expand All @@ -633,7 +633,7 @@ Example:

[source,sql]
----
REFRESH PRODUCTS, SALE(productId, discount)
REFRESH STATISTICS PRODUCTS, SALE(productId, discount)
----

== DROP STATISTICS
Expand Down

0 comments on commit 511736b

Please sign in to comment.