Yan Tingwang
b83e6e2b18
fix: add system variable max_execution_time ( #6511 )
...
add system variable : max_execution_time
Signed-off-by: codephage. <tingwangyan2020@163.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-23 20:54:33 +08:00
discord9
cb74337dbe
refactor(flow): faster time window expr ( #6495 )
...
* refactor: faster window expr
Signed-off-by: discord9 <discord9@163.com >
* docs: explain fast path
Signed-off-by: discord9 <discord9@163.com >
* chore: rm unwrap
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-23 20:54:33 +08:00
shuiyisong
32bffbb668
feat: add filter processor to v0.15 ( #6516 )
...
feat: add filter processor
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
2025-07-14 17:43:49 +08:00
evenyag
941906dc74
chore: bump version to v0.15.2
...
Signed-off-by: evenyag <realevenyag@gmail.com >
v0.15.2
2025-07-11 00:24:21 +08:00
Ruihang Xia
cbf251d0f0
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 >
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-11 00:24:21 +08:00
shuiyisong
1519379262
chore: skip calc ts in doc 2 with transform ( #6509 )
...
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-10 22:40:07 +08:00
localhost
4bfe02ec7f
chore: remove region id to reduce time series ( #6506 )
...
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-10 22:40:07 +08:00
Weny Xu
ecacf1333e
fix: correctly update partition key indices during alter table operations ( #6494 )
...
* fix: correctly update partition key indices in alter table operations
Signed-off-by: WenyXu <wenymedia@gmail.com >
* test: add sqlness tests
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-10 22:40:07 +08:00
Yingwen
92fa33c250
fix: range query returns range selector error when table not found ( #6481 )
...
* test: add sqlness test for range vector with non-existence metric
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix: handle empty metric for matrix selector
Signed-off-by: evenyag <realevenyag@gmail.com >
* test: update sqlness result
Signed-off-by: evenyag <realevenyag@gmail.com >
* chore: add newline
Signed-off-by: evenyag <realevenyag@gmail.com >
---------
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-10 22:40:07 +08:00
shuiyisong
8b2d1a3753
fix: skip nan in prom remote write pipeline ( #6489 )
...
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-10 22:40:07 +08:00
Ning Sun
13401c94e0
feat: allow alternative version string ( #6472 )
...
* feat: allow alternative version string
* refactor: rename original version function to verbose_version
Signed-off-by: Ning Sun <sunning@greptime.com >
---------
Signed-off-by: Ning Sun <sunning@greptime.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-10 22:40:07 +08:00
shuiyisong
fd637dae47
chore: sort range query return values ( #6474 )
...
* chore: sort range query return values
* chore: add comments
* chore: add is_sorted check
* fix: test
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-10 22:40:07 +08:00
dennis zhuang
69fac19770
fix: empty statements hang ( #6480 )
...
* fix: empty statements hang
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* tests: add cases
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
---------
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-10 22:40:07 +08:00
discord9
6435b97314
fix: stricter win sort condition ( #6477 )
...
test: sqlness
test: fix sqlness redacted
Signed-off-by: discord9 <discord9@163.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-10 22:40:07 +08:00
Weny Xu
726e3909fe
fix(metric-engine): handle stale metadata region recovery failures ( #6395 )
...
* fix(metric-engine): handle stale metadata region recovery failures
Signed-off-by: WenyXu <wenymedia@gmail.com >
* test: add unit tests
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-10 22:40:07 +08:00
evenyag
00d759e828
chore: bump version to v0.15.1
...
Signed-off-by: evenyag <realevenyag@gmail.com >
v0.15.1
2025-07-04 22:53:46 +08:00
Lei, HUANG
0042ea6462
fix: filter empty batch in bulk insert api ( #6459 )
...
* fix/filter-empty-batch-in-bulk-insert-api:
**Add Early Return for Empty Record Batches in `bulk_insert.rs`**
- Implemented an early return in the `Inserter` implementation to handle cases where `record_batch.num_rows()` is zero, improving efficiency by avoiding unnecessary processing.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* fix/filter-empty-batch-in-bulk-insert-api:
**Improve Bulk Insert Handling**
- **`handle_bulk_insert.rs`**: Added a check to handle cases where the batch has zero rows, immediately returning and sending a success response with zero rows processed.
- **`bulk_insert.rs`**: Enhanced logic to skip processing for masks that select none, optimizing the bulk insert operation by avoiding unnecessary iterations.
These changes improve the efficiency and robustness of the bulk insert process by handling edge cases more effectively.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* fix/filter-empty-batch-in-bulk-insert-api:
### Refactor and Error Handling Enhancements
- **Refactored Timestamp Handling**: Introduced `timestamp_array_to_primitive` function in `timestamp.rs` to streamline conversion of timestamp arrays to primitive arrays, reducing redundancy in `handle_bulk_insert.rs` and `bulk_insert.rs`.
- **Error Handling**: Added `InconsistentTimestampLength` error in `error.rs` to handle mismatched timestamp column lengths in bulk insert operations.
- **Bulk Insert Logic**: Updated `handle_bulk_insert.rs` to utilize the new timestamp conversion function and added checks for timestamp length consistency.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* fix/filter-empty-batch-in-bulk-insert-api:
**Refactor `bulk_insert.rs` to streamline imports**
- Simplified import statements by removing unused timestamp-related arrays and data types from the `arrow` crate in `bulk_insert.rs`.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
---------
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-04 22:53:46 +08:00
Zhenchi
d06450715f
fix: add backward compatibility for SkippingIndexOptions deserialization ( #6458 )
...
* fix: add backward compatibility for `SkippingIndexOptions` deserialization
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* address comments
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* address comments
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-04 22:53:46 +08:00
evenyag
8612bb066f
chore: fix statement compile errors
...
Signed-off-by: evenyag <realevenyag@gmail.com >
v0.15.0
2025-07-03 23:05:21 +08:00
Yingwen
467593d329
fix: enable max_execution time for other read only statements ( #6454 )
...
Also disable the timeout when timeout is 0
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-03 23:05:21 +08:00
Ruihang Xia
9e4ae070b2
feat: skip rule checker on ingestion ( #6453 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2025-07-03 23:05:21 +08:00
Ruihang Xia
d8261dda51
feat!: point matrix based partition rule checker ( #6431 )
...
* bare implementation
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* stateful generator
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* error report
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix remap checkpoint
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* use matrix generator as iterator
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* pre-calculate suffix product
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* update existing test cases
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix clippy
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* sqlness
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix ut
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* clean up
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-03 23:05:21 +08:00
dennis zhuang
7ab9b335a1
fix: label_replace and label_join functions when used as sub‐expressions ( #6443 )
...
* fix: label_replace and label_join functions in expressions
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* chore: remove update_fields
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* chore: tql eval -> TQL EVAL
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* fix: empty regex and not existing source label
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* chore: simplfy test
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* fix: test
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* fix: test
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
---------
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-03 23:05:21 +08:00
Ruihang Xia
60835afb47
feat: Collider for playing with PartitionRule ( #6399 )
...
* skeleton
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* initial impl and tests
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* refactor and reorganize
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix clippy
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix typo
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* add comment
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* error handling
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* explain naming
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-03 23:05:21 +08:00
fys
aba5bf7431
refactor: avoid adding feature to parameter ( #6391 )
...
* refactor: avoid adding feature to parameter
* avoid `cfg(not(feature = ...))` block
2025-07-03 15:48:22 +08:00
Yingwen
7897fe8dbe
fix: correct MAX_EXECUTION_TIME timeout calculation ( #6444 )
...
* feat: implement statement timeout in frontend instance
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix: fail fast when timeout is 0
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix: update start time
Signed-off-by: evenyag <realevenyag@gmail.com >
---------
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-03 10:46:35 +08:00
Ruihang Xia
cc8ec706a1
fix: remap column indices on overriding logical table partitions ( #6446 )
...
* fix: remap column indices on overriding logical table partitions
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* sqlness
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* refactor map query
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-03 10:46:35 +08:00
Weny Xu
7c688718db
fix: fix dest_keys chunks bug in TombstoneManager ( #6432 )
...
* fix(meta): fix dest_keys_chunks bug in TombstoneManager
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: fix typo
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: fix sqlness tests
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-03 10:46:35 +08:00
shuiyisong
8a0e554e5a
feat(pipeline): support Loki API ( #6390 )
...
* chore: use schema_info
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* refactor: abstract loki item generator
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: introduce middle item
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* feat: introduce pipeline in loki api
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* test: add tests
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: minor update
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: minor update
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: update prefix and test
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: change recursion to loop
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* fix: cr issue
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
---------
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-03 10:46:35 +08:00
jeremyhi
80fae1c559
feat: override logical table's partition key indices ( #6385 )
...
* feat: Override logical table's partition key indices with physical table's
* chore: by comment
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-07-03 10:46:35 +08:00
Zhenchi
c37c4df20d
feat: pick #6416 to release/0.15 ( #6445 )
...
* feat: pick #6416 to release/0.15
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* upgrade proto
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2025-07-02 08:55:54 +00:00
Yingwen
f712c1b356
feat: cherry-pick #6384 #6388 #6396 #6403 #6412 #6405 to 0.15 branch ( #6414 )
...
* feat: supports CsvWithNames and CsvWithNamesAndTypes formats (#6384 )
* feat: supports CsvWithNames and CsvWithNamesAndTypes formats and object/array types
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* test: added and fixed tests
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* chore: fix test
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* chore: remove comments
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* test: add json type csv tests
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* chore: remove comment
Co-authored-by: Yingwen <realevenyag@gmail.com >
---------
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
Co-authored-by: Yingwen <realevenyag@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
* feat: introduce /v1/health for healthcheck from external (#6388 )
Signed-off-by: Ning Sun <sunning@greptime.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
* feat: update dashboard to v0.10.1 (#6396 )
Co-authored-by: ZonaHex <ZonaHex@users.noreply.github.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix: complete partial index search results in cache (#6403 )
* fix: complete partial index search results in cache
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* polish
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* address comments
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* add initial tests
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* cover issue case
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* TestEnv new -> async
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix: skip failing nodes when gathering porcess info (#6412 )
* fix/process-manager-skip-fail-nodes:
- **Enhance Error Handling in `process_manager.rs`:**
Improved error handling by adding a warning log for failing nodes in the `list_process` method. This ensures that the process listing continues even if some nodes fail to respond.
- **Add Error Type Import in `process_manager.rs`:**
Included the `Error` type from the `error` module to handle errors more effectively within the `ProcessManager` implementation.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* fix: clippy
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* fix/process-manager-skip-fail-nodes:
**Enhancements to Debugging and Trait Implementation**
- **`process_manager.rs`**: Improved logging by adding more detailed error messages when skipping failing nodes.
- **`selector.rs`**: Enhanced the `FrontendClient` trait by adding the `Debug` trait bound to improve debugging capabilities.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
---------
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
* refactor: pass pipeline name through http header and get db from query context (#6405 )
Signed-off-by: zyy17 <zyylsxm@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
---------
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
Signed-off-by: Ning Sun <sunning@greptime.com >
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
Signed-off-by: zyy17 <zyylsxm@gmail.com >
Co-authored-by: dennis zhuang <killme2008@gmail.com >
Co-authored-by: Ning Sun <sunng@protonmail.com >
Co-authored-by: ZonaHe <zonahe@qq.com >
Co-authored-by: ZonaHex <ZonaHex@users.noreply.github.com >
Co-authored-by: Zhenchi <zhongzc_arch@outlook.com >
Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com >
Co-authored-by: zyy17 <zyylsxm@gmail.com >
2025-06-27 20:11:28 +08:00
shuiyisong
7cd6be41ce
feat(pipeline): introduce pipeline doc version 2 for combine-transform ( #6360 )
...
* chore: init commit of pipeline doc version v2
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: remove unused code
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: remove unused code
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: add test
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: add test
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: compatible with v1 to remain field in the map during transform
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* refactor: pipeline.exec_mut
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* fix: typo
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: change from v2 to 2 in version setting
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
---------
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
v0.15.0-nightly-20250623
2025-06-22 00:58:36 +00:00
ZonaHe
15616d0c43
feat: update dashboard to v0.10.0 ( #6368 )
...
Co-authored-by: ZonaHex <ZonaHex@users.noreply.github.com >
2025-06-20 23:48:35 +00:00
dennis zhuang
b43e315c67
fix: test test_tls_file_change_watch ( #6366 )
...
* fix: test test_tls_file_change_watch
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* fix: cert_path
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* fix: test
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* chore: revert times
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* chore: debug
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* fix: times
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* chore: remove assertions
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* chore: use inspect_err
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
---------
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
2025-06-20 16:57:07 +00:00
Yingwen
36ab1ceef7
chore: prints a warning when skip_ssl_validation is true ( #6367 )
...
chore: warn when skip_ssl_validation is true
We already log all configs when a node starts.
Signed-off-by: evenyag <realevenyag@gmail.com >
2025-06-20 13:14:50 +00:00
Weny Xu
3fb1b726c6
refactor(cli): simplify metadata command parameters ( #6364 )
...
Signed-off-by: WenyXu <wenymedia@gmail.com >
2025-06-20 09:00:21 +00:00
Olexandr88
c423bb31fe
docs: added YouTube link to documentation ( #6362 )
...
Update README.md
2025-06-20 08:16:54 +00:00
rgidda
e026f766d2
feat(storage): Add skip_ssl_validation option for object storage HTTP client ( #6358 )
...
* feat(storage): Add skip_ssl_validation option for object storage HTTP client
Signed-off-by: rgidda <rgidda@hitachivantara.com >
* fix(test): Broken test case for - Add skip_ssl_validation option for object storage HTTP client
Signed-off-by: rgidda <rgidda@hitachivantara.com >
* fix: test
* fix: test
---------
Signed-off-by: rgidda <rgidda@hitachivantara.com >
Co-authored-by: rgidda <rgidda@hitachivantara.com >
Co-authored-by: dennis zhuang <killme2008@gmail.com >
2025-06-20 08:08:19 +00:00
discord9
9d08f2532a
feat: dist auto step aggr pushdown ( #6268 )
...
* wip: steppable aggr fn
Signed-off-by: discord9 <discord9@163.com >
* poc: step aggr query
Signed-off-by: discord9 <discord9@163.com >
* feat: mvp poc stuff
Signed-off-by: discord9 <discord9@163.com >
* test: sqlness
Signed-off-by: discord9 <discord9@163.com >
* chore: import missing
Signed-off-by: discord9 <discord9@163.com >
* feat: support first/last_value
Signed-off-by: discord9 <discord9@163.com >
* fix: check also include first/last value
Signed-off-by: discord9 <discord9@163.com >
* chore: clean up after rebase
Signed-off-by: discord9 <discord9@163.com >
* feat: optimize yes!
Signed-off-by: discord9 <discord9@163.com >
* fix: alias qualifled
Signed-off-by: discord9 <discord9@163.com >
* test: more testcases
Signed-off-by: discord9 <discord9@163.com >
* chore: qualified column
Signed-off-by: discord9 <discord9@163.com >
* chore: per review
Signed-off-by: discord9 <discord9@163.com >
* fix: case when can push down
Signed-off-by: discord9 <discord9@163.com >
* feat: udd/hll_merge is also the same
Signed-off-by: discord9 <discord9@163.com >
* fix: udd/hll_merge args
Signed-off-by: discord9 <discord9@163.com >
* tests: fix sqlness
Signed-off-by: discord9 <discord9@163.com >
* tests: fix sqlness
Signed-off-by: discord9 <discord9@163.com >
* fix: udd/hll merge steppable
Signed-off-by: discord9 <discord9@163.com >
* chore: per review
Signed-off-by: discord9 <discord9@163.com >
* test: REDACTED
Signed-off-by: discord9 <discord9@163.com >
* refactor: per review
Signed-off-by: discord9 <discord9@163.com >
* refactor: more formal transform action
Signed-off-by: discord9 <discord9@163.com >
* feat: support modify child plan too
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
2025-06-20 07:18:55 +00:00
LFC
e072726ea8
refactor: make scanner creation async ( #6349 )
...
* refactor: make scanner creation async
Signed-off-by: luofucong <luofc@foxmail.com >
* resolve PR comments
Signed-off-by: luofucong <luofc@foxmail.com >
---------
Signed-off-by: luofucong <luofc@foxmail.com >
2025-06-20 06:44:49 +00:00
Ning Sun
e78c3e1eaa
refactor: make metadata region option opt-in ( #6350 )
...
* refactor: make metadata region option opt-in
Signed-off-by: Ning Sun <sunning@greptime.com >
* fix: preserve wal_options for metadata region
Signed-off-by: Ning Sun <sunning@greptime.com >
* Update src/metric-engine/src/engine/create.rs
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ning Sun <sunning@greptime.com >
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
2025-06-20 03:31:16 +00:00
Weny Xu
89e3c8edab
fix(meta): enhance mysql election client with timeouts and reconnection ( #6341 )
...
* fix(meta): enhance mysql election client with timeouts and reconnection
Signed-off-by: WenyXu <wenymedia@gmail.com >
* feat: improve MySQL election client lease management and error handling
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: adjust timeout configurations for election clients
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: remove unused error
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: fix unit test
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions from CR
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions from CR
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions from CR
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
2025-06-19 12:44:23 +00:00
fys
d4826b998d
feat: support execute sql in frontend_client ( #6355 )
...
* feat: support execute sql in frontend_client
* chore: remove unnecessary clone
* add components for flownode instance
* add feature gate for component
* fix: enterprise feature
2025-06-19 09:47:16 +00:00
Weny Xu
d9faa5c801
feat(cli): add metadata del commands ( #6339 )
...
* feat: introduce cli for deleting metadata
Signed-off-by: WenyXu <wenymedia@gmail.com >
* refactor(cli): flatten metadata command structure
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: add alias
Signed-off-by: WenyXu <wenymedia@gmail.com >
* refactor(meta): implement logical deletion for CLI tool
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions from CR
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions from CR
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
2025-06-19 06:48:00 +00:00
Ning Sun
12c3a3205b
chore: security updates ( #6351 )
2025-06-19 06:43:43 +00:00
Weny Xu
5231505021
fix(metric-engine): properly propagate errors during batch open operation ( #6325 )
...
* fix(metric-engine): properly propagate errors during batch open operation
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: add comments
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
2025-06-19 06:37:54 +00:00
Lei, HUANG
6ece560f8c
fix: reordered write cause incorrect kv ( #6345 )
...
* fix/reordered-write-cause-incorrect-kv:
- **Enhance Testing in `partition_tree.rs`**: Added comprehensive test functions such as `kv_region_metadata`, `key_values`, and `collect_kvs` to improve the robustness of key-value operations and ensure correct behavior of the `PartitionTreeMemtable`.
- **Improve Key Handling in `dict.rs`**: Modified `KeyDictBuilder` to handle both full and sparse keys, ensuring correct mapping and insertion. Added a new test `test_builder_finish_with_sparse_key` to validate the handling of sparse keys.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* fix/reordered-write-cause-incorrect-kv:
### Refactor `partition_tree.rs` for Improved Key Handling
- **Refactored Key Handling**: Simplified the `key_values` function to accept an iterator of keys, removing hardcoded key-value pairs. This change enhances flexibility and reduces redundancy in key management.
- **Updated Test Cases**: Modified test cases to use the new `key_values` function signature, ensuring they iterate over keys dynamically rather than relying on predefined lists.
Files affected:
- `src/mito2/src/memtable/partition_tree.rs`
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* fix/reordered-write-cause-incorrect-kv:
Enhance Testing in `partition_tree.rs`
- Added assertions to verify key-value collection after `memtable` and `forked` operations.
- Refactored key-value writing logic for clarity in `forked` operations.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
---------
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
2025-06-19 06:32:40 +00:00
fys
2ab08a8f93
chore(deps): switch greptime-proto to official repository ( #6347 )
2025-06-18 12:52:46 +00:00
Lei, HUANG
086ae9cdcd
chore: print series count after wal replay ( #6344 )
...
* chore/print-series-count-after-wal-replay:
### Add Series Count Functionality and Logging Enhancements
- **`time_partition.rs`**: Introduced `series_count` method to calculate the total timeseries count across all time partitions.
- **`opener.rs`**: Enhanced logging to include the total timeseries replayed during WAL replay.
- **`version.rs`**: Added `series_count` method to `VersionControlData` for approximating timeseries count in the current version.
- **`handler.rs`**: Added entry and exit logging for the `sql` function to trace execution flow.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* chore/print-series-count-after-wal-replay:
### Remove Unused Import
- **File Modified**: `src/servers/src/http/handler.rs`
- **Change Summary**: Removed the unused `info` import from `common_telemetry`.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
---------
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
2025-06-18 12:04:39 +00:00