Skip to content

Commit a561e47

Browse files
committed
[doc] Document topN optimization in query performance
1 parent 7eab79b commit a561e47

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/content/append-table/query-performance.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@ For Spark SQL, table with default `metadata.stats-mode` can be accelerated:
4040

4141
```sql
4242
SELECT MIN(a), MAX(b) FROM TABLE WHERE DT = '20230101';
43+
44+
SELECT * FROM TABLE ORDER BY a LIMIT 1;
4345
```
4446

45-
Min max query can be also accelerated during compilation and returns very quickly.
47+
Min max topN query can be also accelerated during compilation and returns very quickly.
4648

4749
## Data Skipping By Order
4850

0 commit comments

Comments
 (0)