Yingwen
|
3e2751d71d
|
feat: improve SQL analyze scan diagnostics (#9565)
* feat: improve SQL analyze scan diagnostics
Signed-off-by: evenyag <realevenyag@gmail.com>
* test: redact dynamic filters in sqlness results
Signed-off-by: evenyag <realevenyag@gmail.com>
* test: stabilize analyze snapshots for merge queue
Signed-off-by: evenyag <realevenyag@gmail.com>
* test: remove obsolete scan_details assertion
Signed-off-by: evenyag <realevenyag@gmail.com>
* test: refresh explain snapshots after partition filter changes
Signed-off-by: evenyag <realevenyag@gmail.com>
---------
Signed-off-by: evenyag <realevenyag@gmail.com>
|
2026-10-20 05:06:32 +00:00 |
|
Yingwen
|
3a4c24a863
|
fix: temporarily disable v2 series scan by default (#9436)
* fix: disable v2 series scan by default temporarily
Signed-off-by: evenyag <realevenyag@gmail.com>
* test: explicitly enable v2 series scan in sqlness configs
Signed-off-by: evenyag <realevenyag@gmail.com>
* test: regenerate sqlness results for legacy series scan default
Signed-off-by: evenyag <realevenyag@gmail.com>
---------
Signed-off-by: evenyag <realevenyag@gmail.com>
|
2026-10-02 12:09:16 +00:00 |
|
 discord9andNing Sun
|
94d7e2c7fc
|
feat!: upgrade DataFusion to 55 (#8555)
* feat!: upgrade DataFusion dependencies to 55
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* refactor: migrate DataFusion 55 APIs
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: preserve table function planning behavior
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: preserve PostgreSQL query compatibility
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: preserve distributed execution plan behavior
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: cover DataFusion 55 behavior regressions
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: update DataFusion 55 SQLness expectations
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: complete DataFusion 55 test API migration
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: address DataFusion 55 CI regressions
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: address remaining DataFusion 55 regressions
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: adapt latest base code to DataFusion 55
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: normalize environment-specific DataFusion 55 plans
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: align final DataFusion 55 expectations
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: isolate DataFusion 55 regression cases
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: preserve empty result schema in timestamp widening
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: preserve JSON source column order
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* chore: use released DataFusion 55 integrations
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: adapt latest execution plan mock to DataFusion 55
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: pin DataFusion recursive schema and date repairs
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix(promql): align dictionary temporality match keys
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: retain Greptime DataFusion fork behaviors on version 55
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: restore ordinary function error expectations
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: refresh distributed count compatibility plan
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix(query): adapt last-row cast hint to DataFusion 55
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: refresh instant last-row empty results for Arrow 59
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* style: simplify DataFusion expression visitor imports
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: restore sorting and PostgreSQL column-order assertions
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix(function): restore primitive numeric coercion signatures
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* refactor(function): share geo integer signature types
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: cover timestamp widening overflow boundaries
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: fix decimal coercion regression imports
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix(function): preserve scalar count_hash NULL state semantics
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: simplify decimal clamp case type inference
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: retain historical count_hash wrapper result
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: restore timestamp widening equality and IN pruning
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: carry upstream aggregate dynamic filter correctness fix
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: carry upstream null and predicate simplification fixes
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: restore baseline JSON ordering expectations
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: restore histogram JSON ordering expectations
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: refresh empty PromQL range result schemas
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: align native timestamp plan with DF55 decimal display
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: refresh native timestamp SQLness results for DF55
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: regenerate NULL sample empty result headers for DF55
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: use DF55 child replacement API in timestamp regressions
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: expose pushed scan dynamic filters to DF55 producers
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: encode string-backed PostgreSQL OID aliases in binary results
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: verify REGPROC binary and text over PostgreSQL protocol
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: register real PostgreSQL catalogs in server fixtures
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: complete DF55 expression inventories for custom query plans
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: correct RangeSelect expression fixture and column identities
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* ci: wait for Kafka WAL helper deployment rollout
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: update custom storage empty result headers
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: require exact row counts in scan statistics
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: suppress deprecated partition_statistics warning in test
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
---------
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
Co-authored-by: Ning Sun <sunng@protonmail.com>
|
2026-09-15 11:42:38 +00:00 |
|
discord9
|
da5cb1a190
|
perf(promql): push down last row for instant queries (#9034)
* perf(promql): push down last row for instant queries
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: guard instant last row correctness
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: update instant query explain results
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: apply last row after source deduplication
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: scope post-merge last row selection
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test(perf): cover instant PromQL last row
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix(perf): sort generated SST rows before writing
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test(promql): cover instant last row selection in sqlness
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix(promql): avoid last row hints for lossy timestamp casts
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test(promql): preserve stale marker semantics across flushes
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test(promql): decode dictionary labels in stale regression
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test(promql): avoid reserved column name in stale fixture
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test(promql): exercise LastRow hints and filtered results
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* refactor: keep after-merge mode in LastRow selector
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: reject instant LastRow across residual filters
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: expect after-merge selector in instant vector guards
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* docs: explain instant LastRow filter eligibility
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* fix: restrict instant LastRow to safe selector nodes
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* refactor: show LastRow merge mode directly in diagnostics
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
* test: refresh LastRow display in explain expectations
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
---------
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
|
2026-09-09 12:38:52 +00:00 |
|
Yingwen
|
76924c2d36
|
feat(mito2): introduce two-phase metric series scans (#8826)
* feat(mito2): add two-phase series scan
Signed-off-by: evenyag <realevenyag@gmail.com>
* docs: regenerate configuration reference
Signed-off-by: evenyag <realevenyag@gmail.com>
* test(sqlness): update series scan explain results
Signed-off-by: evenyag <realevenyag@gmail.com>
* test: update config API expectation
Signed-off-by: evenyag <realevenyag@gmail.com>
* fix(mito2): bound two-phase series discovery
Signed-off-by: evenyag <realevenyag@gmail.com>
* fix(mito2): avoid candidate distribution deadlock
Signed-off-by: evenyag <realevenyag@gmail.com>
* chore(mito2): remove obsolete dead code allowances
Signed-off-by: evenyag <realevenyag@gmail.com>
* fix(mito2): share series scan memory pool
Signed-off-by: evenyag <realevenyag@gmail.com>
---------
Signed-off-by: evenyag <realevenyag@gmail.com>
|
2026-08-14 06:32:17 +00:00 |
|
jeremyhi
|
764c93bf43
|
perf(query): choose bounded CTE as hash join build side (#8807)
* fix(query): choose bounded CTE as hash join build side
Signed-off-by: jeremyhi <fengjiachun@gmail.com>
* perf(query): remove join estimate cap
* test(compat): accept repartition in analyze plan
Signed-off-by: jeremyhi <fengjiachun@gmail.com>
---------
Signed-off-by: jeremyhi <fengjiachun@gmail.com>
|
2026-08-13 10:51:53 +00:00 |
|
discord9
|
4a0dd8f9bc
|
fix(query): preserve bare plan names in analyze json (#8519)
Signed-off-by: discord9 <discord9@163.com>
|
2026-07-22 03:33:19 +00:00 |
|
Ruihang Xia
|
59dd418629
|
feat: simplify nested aggr inside count query (#7859)
* as optimizer rule
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* dump changes
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* perf: tighten count-count optimizer rewrite
* extend inner op set
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* simplify and more coverage
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* remove prom-non-null
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* preserve value column through pruning
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* more sqlness cases
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* rename
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* enforce is not null before inner aggr
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* finalize
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2026-03-26 00:08:38 +00:00 |
|
 
|
b2074e3863
|
chore: upgrade DataFusion family, again (#7578)
* chore: upgrade DataFusion family
Signed-off-by: luofucong <luofc@foxmail.com>
* chore: switch to released version of datafusion-pg-catalog
---------
Signed-off-by: luofucong <luofc@foxmail.com>
Co-authored-by: Ning Sun <sunning@greptime.com>
Co-authored-by: Ning Sun <sunng@protonmail.com>
|
2026-03-03 07:36:39 +00:00 |
|
Ruihang Xia
|
4ac73a7e9e
|
feat: adapt prometheus 3.x selector and lookback behavior (#7688)
* feat: adapt prometheus 3.x selector and lookback behavior
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* remove commit hash from comment
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2026-02-10 04:00:45 +00:00 |
|
Ruihang Xia
|
a10d40e552
|
feat: adapt prometheus 3.x matrix selector behavior change (#7671)
feat: adapt prometheus 3.x matrix selector behavior
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2026-02-06 03:06:33 +00:00 |
|
Ruihang Xia
|
65f46b6a2f
|
feat: ensure datanode plan's dist and ordering for tsid col (#7614)
* ensure datanode plan's dist and ordering
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* add one more comment
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2026-01-26 11:36:59 +00:00 |
|
Ruihang Xia
|
cc1dbd108b
|
perf: skip unnecessary label columns in promql query (#7602)
* feat: fully install tsid to promql planner
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* sqlness tests
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* remove unused field
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2026-01-21 13:31:23 +00:00 |
|
Ruihang Xia
|
966ade7565
|
feat: use tsid on promql planner (#7590)
* expose tsid on logical table's schema and use it on planner
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* detect table type on planner
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* simplification
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* filter out internal columns
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* reset tsid flag
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2026-01-21 06:25:36 +00:00 |
|
LFC
|
e64c31e59a
|
chore: upgrade DataFusion family (#7558)
* chore: upgrade DataFusion family
Signed-off-by: luofucong <luofc@foxmail.com>
* use main proto
Signed-off-by: luofucong <luofc@foxmail.com>
* fix ci
Signed-off-by: luofucong <luofc@foxmail.com>
---------
Signed-off-by: luofucong <luofc@foxmail.com>
|
2026-01-14 14:02:31 +00:00 |
|
Ruihang Xia
|
170f94fc08
|
feat: enable pruning for manipulate plans (#7565)
* feat: enable pruning for manipulate plans
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* apply to other plans and add sqlness case
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix scalar manipulate and histogram fold for missing some columns
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* don't drop every columns
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* remove unrelated part
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2026-01-14 08:32:51 +00:00 |
|
Yingwen
|
4b3bd7317b
|
feat: add per-partition convert, result cache metrics (#7539)
* fix: show convert cost in explain analyze verbose
Signed-off-by: evenyag <realevenyag@gmail.com>
* fix: increase puffin metadata cache metric
Signed-off-by: evenyag <realevenyag@gmail.com>
* feat: add result cache hit/miss to filter metrics
Signed-off-by: evenyag <realevenyag@gmail.com>
* feat: print flat format in debug
Signed-off-by: evenyag <realevenyag@gmail.com>
* test: update sqlness test
Signed-off-by: evenyag <realevenyag@gmail.com>
* feat: make scan cost contains part/reader build cost
Signed-off-by: evenyag <realevenyag@gmail.com>
* feat: collect divider cost
Signed-off-by: evenyag <realevenyag@gmail.com>
* refactor: remove unused field in ScannerMetrics
Signed-off-by: evenyag <realevenyag@gmail.com>
* feat: collect metadata read bytes
Signed-off-by: evenyag <realevenyag@gmail.com>
* chore: collect read metrics in get_parquet_meta_data
Signed-off-by: evenyag <realevenyag@gmail.com>
---------
Signed-off-by: evenyag <realevenyag@gmail.com>
|
2026-01-13 09:17:09 +00:00 |
|
Ruihang Xia
|
c054c13e48
|
perf: avoid unnecessary merge sort (#7274)
* perf: avoid unnecessary merge sort
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fantastic if chain
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* more comments
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix typo
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2025-11-21 09:02:25 +00:00 |
|
Ruihang Xia
|
288f69a30f
|
fix: plan disorder from upgrading datafusion (#6787)
* fix: plan disorder from upgrading datafusion
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness again
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2025-08-23 12:29:47 +00:00 |
|
LFC
|
f9d2a89a0c
|
chore: update datafusion family (#6675)
* chore: update datafusion family
Signed-off-by: luofucong <luofc@foxmail.com>
* fix ci
Signed-off-by: luofucong <luofc@foxmail.com>
* use official otel-arrow-rust
Signed-off-by: luofucong <luofc@foxmail.com>
* rebase
Signed-off-by: luofucong <luofc@foxmail.com>
* use the official orc-rust
Signed-off-by: luofucong <luofc@foxmail.com>
* resolve PR comments
Signed-off-by: luofucong <luofc@foxmail.com>
* remove the empty lines
Signed-off-by: luofucong <luofc@foxmail.com>
* try following PR comments
Signed-off-by: luofucong <luofc@foxmail.com>
---------
Signed-off-by: luofucong <luofc@foxmail.com>
|
2025-08-15 12:41:49 +00:00 |
|
 Ruihang Xiaanddiscord9
|
351a77a2e5
|
fix: expand on conditional commutative as well (#6484)
* fix: expand on conditional commutative as well
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: discord9 <discord9@163.com>
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: discord9 <discord9@163.com>
* add logging to figure test failure
Signed-off-by: discord9 <discord9@163.com>
* revert
Signed-off-by: discord9 <discord9@163.com>
* feat: stream drop record metrics
Signed-off-by: discord9 <discord9@163.com>
* Revert "feat: stream drop record metrics"
This reverts commit 6a16946a5b8ea37557bbb1b600847d24274d6500.
Signed-off-by: discord9 <discord9@163.com>
* feat: stream drop record metrics
Signed-off-by: discord9 <discord9@163.com>
refactor: move logging to drop too
Signed-off-by: discord9 <discord9@163.com>
fix: drop input stream before collect metrics
Signed-off-by: discord9 <discord9@163.com>
* fix: expand differently
Signed-off-by: discord9 <discord9@163.com>
* test: update sqlness
Signed-off-by: discord9 <discord9@163.com>
* chore: more dbg
Signed-off-by: discord9 <discord9@163.com>
* Revert "feat: stream drop record metrics"
This reverts commit 3eda4a2257928d95cf9c1328ae44fae84cfbb017.
Signed-off-by: discord9 <discord9@163.com>
* test: sqlness redacted
Signed-off-by: discord9 <discord9@163.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: discord9 <discord9@163.com>
Co-authored-by: discord9 <discord9@163.com>
|
2025-07-10 15:13:52 +00:00 |
|
Ruihang Xia
|
6e1e8f19e6
|
feat: support setting FORMAT in TQL ANALYZE/VERBOSE (#6327)
* feat: support setting FORMAT in TQL ANALYZE/VERBOSE
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2025-06-18 03:39:12 +00:00 |
|
Ruihang Xia
|
7468a8ab2a
|
feat: organize EXPLAIN ANALYZE VERBOSE's output in JSON format (#6308)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2025-06-12 09:55:53 +00:00 |
|
 YingwenandRuihang Xia
|
c7e9485534
|
feat: New scanner SeriesScan to scan by series for querying metrics (#5968)
* chore: basic methods for SeriesScan
* chore: add to scanner enum
* feat: implement scan logic of each partition
* feat: use series scan when distribution is PerSeries
* refactor: remove per series scan from SeqScan
* fix: use series scan in PerSeries distribution
* feat: keep parallelize_scan unchanged
* fix: address compiler errors
* fix: include build merge reader cost to scan cost
* feat: use smallvec
* chore: update comment
* Revert "feat: keep parallelize_scan unchanged"
This reverts commit 96ba00d175.
* assign partition_ranges
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* feat: try send before send
reduce the send timeout to 10ms
* chore: add comments
* fix: add metrics to partition metrics list
* fix: correct scan cost metrics
* chore: reset instant
* fix: scanner metrics init
* chore: display more info in explain
* feat: metrics for send series timeout
* style: fix clippy
* refactor: use ChainedRecordBatchStream to simplify codes
* chore: fix typos
* feat: separate distributor metrics
* feat: remove parallelize hack
* chore: fix warning
* test: add test for series scan
* test: update sqlness test
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Co-authored-by: Ruihang Xia <waynestxia@gmail.com>
|
2025-05-16 08:53:24 +00:00 |
|
Ruihang Xia
|
bbb6f8685e
|
feat: implement commutativity rule for prom-related plans (#5875)
* feat: implement commutativity rule for prom-related plans
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix range manipulate deserializer
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* blocklist in commutativity rule
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* change dictionary type
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* handle partition and ordering
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix clippy
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update tests
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* add rate, increase and delta
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* regexp_replace uses empty string instead of null value
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness result again
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2025-05-13 09:06:25 +00:00 |
|
Eugene Tolbakov
|
8609977b52
|
feat: add verbose support for tql explain/analyze (#3390)
* feat: add verbose support for tql explain/analyze
* chore: apply clippy suggestions
* feat: add sqlness tests
* fix: adjust sqlness replace rules
* fix: address CR (move tql explain/analyze inside common folder)
* fix: address CR(improve comments to indicate that verbose is optional)
|
2024-03-02 11:18:22 +00:00 |
|
Ruihang Xia
|
5d8b0e8154
|
chore: bump dependencies (#2659)
* fix all hard error
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix nextest
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* trivial changes
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix order by
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix sql keyword and data type
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix range exec's input partitioning
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix cover input type
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix explain analyze
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update distributed mode sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix lints
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update locks
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* downgrade dlv-list
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2023-10-26 12:24:14 +00:00 |
|
 Ruihang XiaandYingwen
|
10ecc30817
|
feat: pushdown aggr, limit and sort plan (#2495)
* check partition for aggr plan
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* handle empty partition rule
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* remove CheckPartition option
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* add test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update some valid sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* opt-out promql plan and update sqlness
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix limit
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix insert select subquery
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update unit test result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix typo
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* Update src/query/src/dist_plan/analyzer.rs
Co-authored-by: Yingwen <realevenyag@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Co-authored-by: Yingwen <realevenyag@gmail.com>
|
2023-09-28 06:35:45 +00:00 |
|
JeremyHi
|
52ac093110
|
fix: drop table 0 rows affected (#2515)
|
2023-09-28 06:21:18 +00:00 |
|
 
|
c149c123c3
|
feat: reopen corresponding regions on starting datanode (#2399)
* separate config and datanode impl
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* partial implement of fetching region id list
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* reopen all regions on starting region server
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness & assign default datanode id
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* set writable on lease
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* apply cr suggs.
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* Update src/datanode/src/datanode.rs
Co-authored-by: Yingwen <realevenyag@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Co-authored-by: dennis zhuang <killme2008@gmail.com>
Co-authored-by: Yingwen <realevenyag@gmail.com>
|
2023-09-15 13:30:20 +00:00 |
|
Ruihang Xia
|
3150f4b22e
|
fix: specify input ordering and distribution for prom plan (#2204)
* fix: specify input ordering and distribution for prom plan
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2023-08-18 09:45:46 +00:00 |
|
Ruihang Xia
|
44f3ed2f74
|
chore(deps): bump datafusion to the latest commit (#1967)
* bump deps
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix compile except pyo3 backend
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix promql-parser metric name matcher
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix tests
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix pyarrow convert
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix pyo3 compiling
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix tests
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix clippy
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* remove deadcode
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update stream adapter display format
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix physical optimizer rule
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2023-08-01 02:10:49 +00:00 |
|
Ruihang Xia
|
bee8323bae
|
chore: bump sqlness to 0.5.0 (#1877)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2023-07-04 19:49:12 +08:00 |
|
Ruihang Xia
|
b737a240de
|
fix: add sqlness tests for some promql function (#1838)
* correct range manipulate exec fmt text
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix partition requirement
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix udf signature
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* finilise
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* ignore unstable ordered result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* add nan value test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2023-06-27 19:05:26 +08:00 |
|
 
|
2615718999
|
feat: merge scan for distributed execution (#1660)
* generate exec plan
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* move DatanodeClients to client crate
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* wip MergeScanExec::to_stream
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix compile errors
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix default catalog
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix expand order of new stage
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* move sqlness cases contains plan out of common dir
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* refactor information schema to allow duplicated scan call
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix: ignore two cases due to substrait
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* reorganise sqlness common cases
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix typos
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* redact round robin partition number
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* Apply suggestions from code review
Co-authored-by: Yingwen <realevenyag@gmail.com>
* skip tranforming projection
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* revert common/order
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix clippy
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* Update src/query/src/dist_plan/merge_scan.rs
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness result again
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* resolve CR comments
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* ignore region failover IT
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness result again and again
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* unignore some tests about projection
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* enable failover tests
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Co-authored-by: Yingwen <realevenyag@gmail.com>
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
|
2023-06-02 06:42:54 +00:00 |
|