Ruihang Xia
1b30aca5a5
Merge branch 'prom-plan-commutativity' into jkt
2025-04-27 19:23:42 +08:00
Ruihang Xia
99b352cea1
Merge branch 'main' into prom-plan-commutativity
2025-04-27 17:40:24 +08:00
Ruihang Xia
0f521956bf
update tests
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2025-04-27 17:35:50 +08:00
Ruihang Xia
aee72ab363
fix clippy
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2025-04-27 17:35:29 +08:00
shuiyisong
3c943be189
chore: update rust toolchain ( #5818 )
...
* chore: update nightly version
* chore: sort lint lines
* chore: minor fix
* chore: update nix
* chore: update toolchain to 2024-04-14
* chore: update toolchain to 2024-04-15
* chore: remove unnecessory test
* chore: do not assert oid in sqlness test
* chore: fix margin issue
* chore: fix cr issues
* chore: fix cr issues
---------
Co-authored-by: Ning Sun <sunning@greptime.com >
2025-04-27 09:02:36 +00:00
Ruihang Xia
5b78d76fc5
handle partition and ordering
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2025-04-27 15:38:57 +08:00
discord9
66e2242e46
fix: conn timeout&refactor: better err msg ( #5974 )
...
* fix: conn timeout&refactor: better err msg
* chore: clippy
* chore: make test work
* chore: comment
* todo: fix null cast
* fix: retry conn&udd_calc
* chore: comment
* chore: apply suggestion
---------
Co-authored-by: dennis zhuang <killme2008@gmail.com >
2025-04-25 19:12:30 +00:00
Zhenchi
d5026f3491
perf: optimize fulltext zh tokenizer for ascii-only text ( #5975 )
...
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2025-04-24 23:31:26 +00:00
Weny Xu
e30753fc31
feat: allow forced region failover for local WAL ( #5972 )
...
* feat: allow forced region failover for local WAL
* chore: upgrade config.md
* chore: apply suggestions from CR
2025-04-24 08:11:45 +00:00
Ruihang Xia
b476584f56
feat: remove hyper parameter from promql functions ( #5955 )
...
* quantile udaf
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* extrapolate rate
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* predict_linear, round, holt_winters, quantile_overtime
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix clippy
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix quantile function
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2025-04-24 07:17:10 +00:00
Weny Xu
ff3a46b1d0
feat: improve observability of region migration procedure ( #5967 )
...
* feat: improve observability of region migration procedure
* chore: apply suggestions from CR
* chore: observe non-zero value
2025-04-24 04:00:14 +00:00
Weny Xu
a533ac2555
feat: enhance selector with node exclusion support ( #5966 )
2025-04-24 02:27:27 +00:00
evenyag
a166430650
chore: fix typos
2025-04-24 06:08:42 +08:00
evenyag
007a2b3dfe
refactor: use ChainedRecordBatchStream to simplify codes
2025-04-24 06:03:07 +08:00
evenyag
f35e957ddd
style: fix clippy
2025-04-24 06:03:07 +08:00
evenyag
68414bf593
feat: metrics for send series timeout
2025-04-24 06:03:07 +08:00
evenyag
5e836a0d1b
chore: display more info in explain
2025-04-24 06:03:07 +08:00
evenyag
f5e0da2fc8
fix: scanner metrics init
2025-04-24 06:03:07 +08:00
evenyag
fb96d26ebf
chore: reset instant
2025-04-24 06:03:07 +08:00
evenyag
0046d3f65b
fix: correct scan cost metrics
2025-04-24 06:03:06 +08:00
evenyag
d7b97fc877
fix: add metrics to partition metrics list
2025-04-24 06:03:06 +08:00
evenyag
bfdaa28b25
chore: add comments
2025-04-24 06:03:06 +08:00
evenyag
6293bb1f5b
feat: try send before send
...
reduce the send timeout to 10ms
2025-04-24 06:03:06 +08:00
Ruihang Xia
8fa1ebcc3e
assign partition_ranges
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2025-04-24 06:03:06 +08:00
Ruihang Xia
c18c3f5839
Revert "feat: keep parallelize_scan unchanged"
...
This reverts commit 96ba00d175 .
2025-04-24 06:03:06 +08:00
evenyag
629e72d8c0
chore: update comment
2025-04-24 06:03:06 +08:00
evenyag
e4065505ab
feat: use smallvec
2025-04-24 06:03:05 +08:00
evenyag
aafd164483
fix: include build merge reader cost to scan cost
2025-04-24 06:03:05 +08:00
evenyag
1386e903d6
fix: address compiler errors
2025-04-24 06:03:05 +08:00
evenyag
12692a940c
feat: keep parallelize_scan unchanged
2025-04-24 06:03:05 +08:00
evenyag
4d44cbb8b2
fix: use series scan in PerSeries distribution
2025-04-24 06:03:05 +08:00
evenyag
f4911aa3bb
refactor: remove per series scan from SeqScan
2025-04-24 06:03:05 +08:00
evenyag
5ac61f17bc
feat: parallelize PerSeries
2025-04-24 06:03:05 +08:00
evenyag
e0d34c6d95
feat: use series scan when distribution is PerSeries
2025-04-24 06:03:04 +08:00
evenyag
8a98b9c433
feat: implement scan logic of each partition
2025-04-24 06:03:03 +08:00
evenyag
1f5d36a203
chore: add to scanner enum
2025-04-24 05:57:37 +08:00
evenyag
6fc7168893
chore: basic methods for SeriesScan
2025-04-24 05:57:37 +08:00
Weny Xu
f3d000f6ec
feat: track region failover attempts and adjust timeout ( #5952 )
2025-04-23 18:19:18 +00:00
discord9
9557b76224
fix: try prune one less ( #5965 )
...
* try prune one less
* test: also not add one
* ci: use longer fuzz time
* revert fuzz time&per review
* chore: no (
* docs: add explain to offset used in delete records
* test: fix test_procedure_execution
2025-04-23 16:57:54 +00:00
discord9
a0900f5b90
feat(flow): use batching mode&fix sqlness ( #5903 )
...
* feat: use flow batching engine
broken: try using logical plan
fix: use dummy catalog for logical plan
fix: insert plan exec&sqlness grpc addr
feat: use frontend instance in flownode in standalone
feat: flow type in metasrv&fix: flush flow out of sync& column name alias
tests: sqlness update
tests: sqlness flow rebuild udpate
chore: per review
refactor: keep chnl mgr
refactor: use catalog mgr for get table
tests: use valid sql
fix: add more check
refactor: put flow type determine to frontend
* chore: update proto
* chore: update proto to main branch
* fix: add locks for create/drop flow&docs: update docs
* feat: flush_flow flush all ranges now
* test: add align time window test
* docs: explain `nodeid` use in check task
* refactor: AddAutoColumnRewriter check for Projection
* refactor: per review
* fix: query without time window also clean dirty time window
* chore: better logging
* chore: add comments per review
* refactor: per review
* chore: per review
* chore: per review rename args
* refactor: per review partially
* chore: update docs
* chore: use better error variant
* chore: better error variant
* refactor: rename FlowWorkerManager to FlowStreamingEngine
* rename again
* refactor: per review
* chore: rebase after #5963 merged
* refactor: rename all flow_worker_manager occurs
* docs: rm resolved TODO
2025-04-23 15:12:16 +00:00
LFC
71db79c8d6
feat: node excluder ( #5964 )
...
* feat: node excluder
* fix ci
* fix ci
2025-04-23 10:48:46 +00:00
discord9
79ed7bbc44
fix: store flow query ctx on creation ( #5963 )
...
* fix: store flow schema on creation
* chore: update sqlness
* refactor: save the entire query context to flow info
* chore: sqlness update
* chore: rm pub
* fix: keep old version compatibility
2025-04-23 09:59:09 +00:00
Weny Xu
55cadcd2c0
feat: introduce flush metadata region task for metric engine ( #5951 )
...
* feat: introduce flush metadata region task for metric engine
* docs: generate config.md
* chore: add header
* test: fix unit test
* fix: fix unit tests
* chore: apply suggestions from CR
* chore: remove docs
* fix: fix unit tests
2025-04-23 04:51:22 +00:00
fys
8c4796734a
chore: remove unused attribute ( #5960 )
2025-04-23 03:17:13 +00:00
Yuhan Wang
919956999b
fix: use max in flushed entry id and topic latest entry id ( #5946 )
2025-04-22 23:48:32 +00:00
ZonaHe
7e5f6cbeae
feat: update dashboard to v0.9.0 ( #5948 )
...
Co-authored-by: ZonaHex <ZonaHex@users.noreply.github.com >
2025-04-22 11:35:33 +00:00
shuiyisong
5c07f0dec7
refactor: run_pipeline parameters ( #5954 )
...
* refactor: simplify run_pipeline params
* refactor: remove unnecessory function wrap
2025-04-22 11:34:19 +00:00
discord9
9fb0487e67
fix: parse flow expire after interval ( #5953 )
...
* fix: parse flow expire after interval
* fix: correct 30.44&comments
2025-04-22 08:44:04 +00:00
discord9
6e407ae4b9
test: use random seed for window sort fuzz test ( #5950 )
...
tests: use random seed for window sort fuzz test
2025-04-22 08:14:27 +00:00
Ning Sun
bcefc6b83f
feat: add format support for promql http api (not prometheus) ( #5939 )
...
* feat: add format support for promql http api (not prometheus)
* test: add csv format test
2025-04-22 08:10:35 +00:00