zipg
58d902c07f
fix(query): make oracle offset jump consume agent result session
2026-09-14 13:49:59 +08:00
zipg
83fdd78d5b
fix(sqlserver): skip pagination rewrite for FOR JSON queries
2026-09-13 23:33:04 +08:00
Eve
ed29ef9eed
fix(hive): keep CTE outside count subquery
2026-09-09 11:58:54 +08:00
t8y2
abc32f1c71
fix(cache): avoid quoted identifiers and alias lists for cache sql
...
Closes #8340
2026-09-08 01:53:50 +08:00
auth0
ca73e9f2eb
fix(sqlserver): preserve comments during pagination
2026-09-07 22:50:33 +08:00
zipg
14e1d4f25b
fix(query): enable editing multi-table JOIN result sets
2026-09-07 00:54:59 +08:00
t8y2
c0b4fa09cc
test(query): lock GROUP BY survival in MySQL pagination and count SQL
...
Refs: #7832
2026-09-06 13:01:37 +08:00
zipg
41fc755135
fix(iotdb): count tree model loads without derived table
2026-09-02 17:41:58 +08:00
zipg
3e4c17bd58
fix(hana): sort results without derived column alias list
2026-09-02 14:31:57 +08:00
K
e79db23e1f
fix(sql): preserve positional order by with group by
2026-09-01 23:36:01 +08:00
amwps290
469bd88c37
fix(highgo): paginate queries via limit offset for performance
2026-08-30 09:59:24 +08:00
t8y2
1498b27314
fix(query): avoid IRIS derived count aliases
...
Closes #7486
2026-08-28 08:25:31 +00:00
t8y2
b09c6f4f21
fix(export): stabilize Kingbase large result pagination
...
Closes #7377
2026-08-27 19:08:05 +08:00
t8y2
2305f2de22
fix(tdsql): preserve directives in generated query SQL
...
Closes #7097
2026-08-24 16:38:12 +00:00
dadong
c09dfbc813
fix(sqlserver): avoid duplicate pagination AST parse
2026-08-19 15:36:54 +08:00
zipg
be171e9976
fix(sqlserver): preserve commented CTE queries
2026-08-19 15:08:19 +08:00
t8y2
cb09a5c75b
fix(mysql): handle duplicate columns in count queries
...
Closes #6522
2026-08-18 04:08:54 +00:00
t8y2
9f2af0983a
fix(query): support Caché total-row counts
...
Closes #6266
2026-08-14 11:41:19 +00:00
GIWTO
b119ca36ae
fix(sqlserver): preserve TOP query ordering across pages
2026-08-14 00:22:43 +08:00
Melody Ruch
a0354726b1
fix(grid): detect exact LIMIT row bounds safely
2026-08-13 16:04:23 +08:00
t8y2
e18d1ddedf
fix(sqlserver): respect TOP row bound in pagination
...
Closes #6033
2026-08-12 16:37:14 +00:00
Abeautifulsnow
b814b3d9be
fix(kingbase): handle TOP-bounded export pagination
2026-08-12 00:19:57 +08:00
t8y2
1ca2de42af
fix(sqlserver): preserve qualified pagination order
...
Closes #5770
2026-08-10 18:22:32 +08:00
t8y2
11c47d1250
fix(sql): preserve leading hints through pagination
...
Closes #5728
2026-08-10 11:09:55 +08:00
AiLi
87fd52de87
fix(query): insert pagination before FOR UPDATE locking clauses
2026-08-07 02:41:15 +08:00
t8y2
25dc3ec2f2
fix(sqlserver): count wildcard join query results
...
Closes #5522
2026-08-06 18:33:59 +08:00
t8y2
f8c71e61dc
fix(sqlserver): paginate joins with duplicate result columns
...
Closes #5284
2026-08-04 12:14:49 +08:00
t8y2
350096b4f7
feat(easysearch): add first-class database support
2026-07-30 19:03:09 +08:00
GIWTO
d9a6655fd9
fix(query): preserve JDBC aliases and duplicate-column sorting
2026-07-27 00:27:12 +08:00
t8y2
ae9403acc4
fix(doris): remove derived column alias list
2026-07-26 09:09:20 +08:00
lewis
74559d6eec
fix(clickhouse): handle system.settings pagination
2026-07-24 00:07:38 +08:00
zipg
378674253c
fix(kingbase): optimize large query pagination
2026-07-20 18:12:54 +08:00
t8y2
083ffe7a35
fix(ci): split checks and enforce warning-free Rust builds
2026-07-20 13:45:59 +08:00
t8y2
1dda122ca6
fix(query): remove IRIS count ordering
2026-07-15 13:46:22 +08:00
二丫讲梵
ee4658bac2
fix(sqlserver): support duplicate result columns
2026-07-11 01:00:28 +08:00
t8y2
ed9fe57617
fix(mysql): respect query page size with existing limit
2026-07-09 21:45:05 +08:00
zipg and zipg
24ac0f7413
fix(sqlserver): order top query pages by exposed column
...
Co-authored-by: zipg <4047349+zipg@users.noreply.github.com >
2026-07-07 13:31:15 +08:00
Fody Jute
2225343e8a
fix(dbx-core): preserve mysql cross-database targets
2026-07-04 00:58:52 +08:00
t8y2
0894334764
fix(firebird): use rows syntax for pagination
2026-07-03 16:22:31 +08:00
Guoyu Su
8747a0e8f9
fix(clickhouse): place pagination before settings clause ( #2206 )
2026-06-30 19:51:03 +08:00
zipg and staff
03c06fb6ef
Fix: 修复 MySQL 尾行注释导致总数不显示
...
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local >
2026-06-27 17:26:17 +08:00
t8y2
c4db815393
fix(clickhouse): support scalar WITH result export
2026-06-27 01:59:50 +08:00
zipg and staff
2aba40ecb7
fix: 修复 SQL Server 查询结果分页重复第一页 ( #1927 )
...
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local >
2026-06-26 15:58:10 +08:00
t8y2
c3d47ece2c
fix(sqlserver): support 2008 query pagination
2026-06-26 12:03:25 +08:00
miracle
9572a9e52d
fix: inject deterministic ORDER BY for dedup query pagination (Doris/MySQL)
...
Problem: When exporting DISTINCT/GROUP BY query results from distributed
databases like Doris 2.1, LIMIT/OFFSET pagination without ORDER BY causes
duplicate rows across pages because tablet scan order varies between
independent query executions.
Fix: Detect dedup queries (DISTINCT, GROUP BY, HAVING) that lack an
ORDER BY clause and automatically inject a positional ORDER BY (1, 2, ..., N)
before applying LIMIT/OFFSET. Positional references work correctly with
aliases, expressions, CASE WHEN, subqueries, and aggregate functions.
Changes:
- Add dedup_projection_count_without_order_by() using sqlparser to detect
dedup queries and count projection columns
- Add ormat_positional_order_by() to generate ORDER BY 1, 2, ..., N
- Modify dd_standard_limit() to accept dedup_projection_count and inject
ORDER BY; wrap in subquery when original query already has LIMIT
- Update dd_outer_standard_limit() to accept an order_sql parameter
- Add 20 unit tests covering Doris, MySQL, PostgreSQL, aliases, expressions,
subqueries, GROUP BY, UNION, and existing ORDER BY scenarios
All 1203 tests pass (61 in query_result_sql, 11 in query_result_export).
2026-06-25 22:14:08 +08:00
t8y2
0e2d0b0413
feat(editor): keep semicolon-gap execution on previous statement
2026-06-24 22:28:21 +08:00
miracle
588ba3352d
feat: stream query result CSV/XLSX exports
...
* docs: add query result streaming export design
* feat(core): stream query result exports
* feat: expose query result streaming export APIs
* feat(desktop): stream query result exports from grid
* fix: route query result export cancellation through its command
* fix: reduce query export batch size and cancel latency
* opt: del local test files
2026-06-24 21:18:11 +08:00
zipg and staff
7b47edde3d
fix(postgres): prevent CTE DML statements from being paginated
...
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local >
2026-06-24 18:08:31 +08:00
t8y2
6689489cfb
fix(sqlserver): paginate query results with offset fetch
2026-06-24 17:59:02 +08:00
t8y2
9621f277bf
fix(clickhouse): fix sorted query sql
2026-06-24 15:26:21 +08:00