shuiyisong
dac81ee7cc
fix: tolerate invalid UTF-8 in JSON log ingestion ( #10245 )
...
* fix: tolerate invalid UTF-8 in JSON ingestion
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* fix: tolerate invalid UTF-8 in NDJSON ingestion
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: upgrade simd json
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* feat: add server default for ignore_errors
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
---------
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
2026-11-09 17:17:41 +08:00
63ef18a74a
chore: pick fixes and bump version to v1.1.3 ( #8545 )
...
* fix(query): push down PromQL cast filters (#8407 )
* fix(query): push down PromQL cast filters
Signed-off-by: discord9 <discord9@163.com >
* test(query): cover cast preimage pushdown
Signed-off-by: discord9 <discord9@163.com >
* test(query): expand cast preimage coverage
Signed-off-by: discord9 <discord9@163.com >
* test(query): compare cast normalization rules
Signed-off-by: discord9 <discord9@163.com >
* test(query): update cast pushdown sqlness plans
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
(cherry picked from commit 4f5dccf6bb )
* fix: update datafusion-pg-catalog (#8417 )
(cherry picked from commit 434e0c7682 )
* fix: global limit for distributed inspect streams (#8412 )
* fix: global limit for distributed inspect streams
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* fix: honor tighter filter fetch under global limit
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* fix: restore distribution after global limit
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* fix: preserve inherited distribution for global limit
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* fix: propagate inherited hash partitioning
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
---------
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
(cherry picked from commit 5bcc2e9d6b )
* feat: update dashboard to v0.13.7 (#8431 )
(cherry picked from commit ebfe4f6eb2 )
* fix: preserve repartitioned file refs during GC (#8445 )
* fix: preserve repartitioned file refs during GC
Signed-off-by: discord9 <discord9@163.com >
* refactor: clarify file refs target region
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
(cherry picked from commit 149b687a92 )
* fix: repartition subset partition key joins (#8460 )
Signed-off-by: discord9 <discord9@163.com >
(cherry picked from commit ff2fa71d50 )
* fix: honor exclusive end in log queries (#8495 )
* fix: exclude logs end boundary
Signed-off-by: discord9 <discord9@163.com >
* fix: normalize log query date bounds
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
(cherry picked from commit 99235e4b2d )
* feat: skip oversized compaction tasks (#8466 )
fix: skip oversized compaction tasks
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
(cherry picked from commit 0fcf61c3fb )
* feat: use scan output bytes for read costing (#8276 )
* feat: track scan output bytes and use them for read costing
Track the actual byte count of each record batch produced by
`RegionScanExec` and use it in place of the aggregated per-plan
`memory_usage` as the `table_scan` cost input. This avoids double
counting bytes that flow through multiple operators.
A named constant `REGION_SCAN_EXEC_NAME` exposes the plan node name
so downstream metric parsers remain correct if the struct is renamed.
Affected files:
- `src/table/src/table/metrics.rs` -- add `output_bytes` counter
- `src/table/src/table/scan.rs` -- record bytes, export name constant
- `src/query/src/dist_plan/merge_scan.rs` -- consume scan bytes
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* refactor: remove misleading `mem_used` gauge from scan metrics
The `mem_used` gauge was used with `add()` on every output batch, but a
RegionScan does not hold memory across polls — each batch is yielded
immediately to the upstream operator. The gauge semantics were
incorrect (cumulative `add()` on a gauge) and the value duplicated
`output_bytes` anyway.
Affected files:
- `src/table/src/table/metrics.rs` — drop `mem_used` field and methods
- `src/table/src/table/scan.rs` — remove `record_mem_usage` call
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* fix: use stable plan names for scan byte metrics
Expose `plan_name` alongside rendered plan text so scan byte extraction no longer depends on EXPLAIN formatting. Keep old serialized metrics compatible by defaulting missing `plan_name`.
Affected files:
- `src/common/recordbatch/src/adapter.rs` -- add `plan_name` to `PlanMetrics` and populate it from `ExecutionPlan::name`
- `src/query/src/dist_plan/merge_scan.rs` -- match `REGION_SCAN_EXEC_NAME` through `plan_name`
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* fix: preserve merge scan CPU read cost
Record read cost whenever stream metrics are available, default scan bytes to zero, and aggregate scan output bytes across region scan nodes.
Files: `src/query/src/dist_plan/merge_scan.rs`
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* fix: correct doc comment in `StreamMetrics`
Fix doc comment on `StreamMetrics::new()` to reference the correct
struct name (`StreamMetrics`) instead of the old `MemoryUsageMetrics`.
- `src/table/src/table/metrics.rs` — fix struct name in doc comment
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
---------
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
(cherry picked from commit 4373c77d35 )
* fix: account logical record batch slice memory (#8480 )
* fix: account logical record batch slice memory
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* fix: account nested view payload memory
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* test: align scan memory expectation with logical size
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* refactor: name Arrow inline view limit
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* fix: account visible list child memory
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* fix: exclude null list child memory
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* fix: exclude null struct child memory
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* fix: account fixed-size list slices
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* fix: limit scan accounting to flat slices
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* docs: clarify nested view accounting scope
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* perf: reduce view memory accounting overhead
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* chore: fix benchmark license header
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* perf: optimize view slice accounting
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* test: cover sliced mixed-null view accounting
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* refactor: narrow slice accounting to arrow buffers
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* docs: note view accounting assumption
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
---------
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
(cherry picked from commit 9cde31a647 )
* fix: preserve distributed topk merge ordering (#8432 )
* fix: preserve distributed topk for scalar latest
Signed-off-by: discord9 <discord9@163.com >
* fix: preserve scalar latest ordering across merge scan
Signed-off-by: discord9 <discord9@163.com >
* fix: carry merge scan ordering from planner rewrite
Signed-off-by: discord9 <discord9@163.com >
* test: cover merge scan ordering metadata
Signed-off-by: discord9 <discord9@163.com >
* test: cover merge scan partition ordering gate
Signed-off-by: discord9 <discord9@163.com >
* fix: require adjacent merge sort for ordering metadata
Signed-off-by: discord9 <discord9@163.com >
* test: update ordering sqlness plans
Signed-off-by: discord9 <discord9@163.com >
* fix: preserve distributed topk merge ordering
Signed-off-by: discord9 <discord9@163.com >
* test: cover latest per series queries
Signed-off-by: discord9 <discord9@163.com >
* test: update distributed merge sort sqlness
Signed-off-by: discord9 <discord9@163.com >
* test: cover merge scan ordering partition gate
Signed-off-by: discord9 <discord9@163.com >
* test: cover merge scan over-partition ordering
Signed-off-by: discord9 <discord9@163.com >
* test: cover distributed latest with low parallelism
Signed-off-by: discord9 <discord9@163.com >
* fix: keep distributed merge sort opaque
Signed-off-by: discord9 <discord9@163.com >
* test: assert distributed scalar latest merge sort
Signed-off-by: discord9 <discord9@163.com >
* test: clarify merge scan ordering helper
Signed-off-by: discord9 <discord9@163.com >
* fix: complete merge sort exec delegation
Signed-off-by: discord9 <discord9@163.com >
* docs: explain merge sort limit pushdown
Signed-off-by: discord9 <discord9@163.com >
* test: cover merge sort optimizer opacity
Signed-off-by: discord9 <discord9@163.com >
* docs: explain merge sort optimizer hooks
Signed-off-by: discord9 <discord9@163.com >
* test: cover merge sort optimizer hooks
Signed-off-by: discord9 <discord9@163.com >
* fix: preserve merge sort child topk
Signed-off-by: discord9 <discord9@163.com >
* test: update order by topk plan
Signed-off-by: discord9 <discord9@163.com >
* fix: recognize merge sort global fetch
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
(cherry picked from commit b30765e5e9 )
* fix: reject out-of-range PostgreSQL numeric UInt64 (#8517 )
Signed-off-by: discord9 <discord9@163.com >
(cherry picked from commit d48f296144 )
* fix(log-store): deduplicate Kafka WAL multipart records (#8514 )
* fix(log-store): deduplicate Kafka WAL multipart records
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix(log-store): preserve delayed Kafka WAL entry offsets
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix(log-store): reject conflicting Kafka WAL last records
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix(log-store): emit Kafka WAL entries on last record
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix(log-store): discard duplicate Kafka WAL first records
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
(cherry picked from commit 912db22417 )
* fix: apply log query limit after expressions (#8496 )
Signed-off-by: discord9 <discord9@163.com >
(cherry picked from commit 1122d1e7d7 )
* fix(query): delegate merge sort cardinality effect (#8532 )
Signed-off-by: discord9 <discord9@163.com >
(cherry picked from commit 887fdf7513 )
* fix: upgrade datafusion fork (#8438 )
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
(cherry picked from commit f12a1da3de )
* chore: bump version
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: discord9 <discord9@163.com >
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
Co-authored-by: discord9 <discord9@163.com >
Co-authored-by: Ning Sun <sunng@protonmail.com >
Co-authored-by: jeremyhi <jiachun_feng@proton.me >
Co-authored-by: sun <sunchang_long@163.com >
Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com >
2026-07-17 11:30:08 +08:00
shuiyisong
0783225e0b
chore: make OTLP trace ingest chunk size configurable ( #8455 ) ( #8468 )
...
chore: make OTLP trace ingest chunk size configurable (#8455 )
* chore: expose trace chunk to config
* chore: change default value to 128
* fix: cr issue
---------
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
2026-07-10 16:13:06 +08:00
8ad2d2414c
chore: pick fixes and bump version to v1.1.2 ( #8404 )
...
* fix: improve Grafana metrics dashboards (#8298 )
* chore: initial changes
Signed-off-by: evenyag <realevenyag@gmail.com >
* feat: improve troubleshooting dashboard
Signed-off-by: evenyag <realevenyag@gmail.com >
* chore: rm troubleshooting-dashboard.md
Signed-off-by: evenyag <realevenyag@gmail.com >
* chore: optimize metrics dashboard
Signed-off-by: evenyag <realevenyag@gmail.com >
* docs: move troubleshooting-dashboard.md
Signed-off-by: evenyag <realevenyag@gmail.com >
* chore: move mito gc duration panel
Signed-off-by: evenyag <realevenyag@gmail.com >
* chore: cleanup the dashboard
- Overview trend panels are now aggregate-only:
- Total Ingestion Rate Trend
- Total Query Rate Trend
- Protocol breakdowns remain in Ingestion and Queries.
- Mito Backpressure and Failures no longer duplicates scan/GC signals.
- Removed Write Stall per Instance.
- Split Object Store and WAL into collapsed Object Store and collapsed
WAL.
- Moved WAL/logstore panels out of Storage into WAL.
- Normalized OpenDAL “other request” matchers.
- Normalized trigger elapsed p99/p75/avg aggregation.
- Regenerated standalone JSON and dashboard YAML/Markdown.
- Updated docs/troubleshooting-dashboard.md.
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix: rearrange metasrv dashboard panels
Signed-off-by: evenyag <realevenyag@gmail.com >
* feat: improve troubleshooting dashboard layout
Signed-off-by: evenyag <realevenyag@gmail.com >
* docs: remove obsolete troubleshooting dashboard doc
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix: correct cluster dashboard panel queries (missing _bucket, raw counters, rate normalization)
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix: correct trigger panel datasource, collapse flush/compaction, split request latency panels
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix: update grafana metrics dashboard panels
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix: correct Grafana dashboard units
Signed-off-by: evenyag <realevenyag@gmail.com >
* chore: regenerate Grafana dashboards
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix: use throughput unit for index IO bytes
Signed-off-by: evenyag <realevenyag@gmail.com >
---------
Signed-off-by: evenyag <realevenyag@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: redact Kafka SASL password in debug output (#8337 )
## Summary
- Mask `KafkaClientSaslConfig` password fields in debug output while keeping usernames visible.
- Cover metasrv WAL debug output with a regression test.
## Files
- `src/common/wal/src/config/kafka/common.rs`
- `src/common/wal/src/config.rs`
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix(query): run optimizer rules before MergeScan (#8339 )
* fix(query): push down join filters before MergeScan
Signed-off-by: discord9 <discord9@163.com >
* fix(query): run optimizer before MergeScan pushdown
Signed-off-by: discord9 <discord9@163.com >
* fix(query): narrow pre-MergeScan filter pushdown
Signed-off-by: discord9 <discord9@163.com >
* fix(query): refine pre-MergeScan optimizer prepass
Signed-off-by: discord9 <discord9@163.com >
* fix(query): satisfy predicate extractor clippy
Signed-off-by: discord9 <discord9@163.com >
* test(query): cover pre-MergeScan optimizer edges
Signed-off-by: discord9 <discord9@163.com >
* test(query): cover set comparison prepass
Signed-off-by: discord9 <discord9@163.com >
* fix(query): guard remote scan filter pushdown
Signed-off-by: discord9 <discord9@163.com >
* fix(query): preserve subquery planning errors
Signed-off-by: discord9 <discord9@163.com >
* fix(query): preserve usable scan predicates
Signed-off-by: discord9 <discord9@163.com >
* fix(query): simplify scan predicate extraction
Signed-off-by: discord9 <discord9@163.com >
* fix(query): keep scan filter extraction scoped
Signed-off-by: discord9 <discord9@163.com >
* docs(query): explain pre-MergeScan optimizer
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: preserve bulk write grpc error details (#8349 )
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: include index files in GC listing (#8327 )
* fix: include index files in GC listing
Signed-off-by: discord9 <discord9@163.com >
* chore: filter GC index listing to puffins
Signed-off-by: discord9 <discord9@163.com >
* chore: simplify GC index listing stream
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: stream tables for prometheus label discovery (#8341 )
Signed-off-by: Ritwij Aryan Parmar <ritwij.aryan.parmar@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: account parquet metadata cache size (#8368 )
* fix: account parquet metadata cache size
Use Parquet metadata memory sizing for SST metadata cache weight and add regression coverage for byte-array page-index buffers.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* fix: saturate sst meta cache weight
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
---------
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: respect gc mailbox timeout for admin gc (#8363 )
Signed-off-by: discord9 <discord9@163.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: record catalog and schema in slow queries (#8387 )
* fix: record catalog and schema in slow queries
Add catalog and schema context to slow query records while appending the new columns after existing fields to preserve column order.
- `src/common/frontend/src/slow_query_event.rs`: extend `SlowQueryEvent` schema and rows with `catalog_name` and `schema_name`, and cover append-only ordering.
- `src/catalog/src/process_manager.rs`: carry catalog and schema through `SlowQueryTimer`.
- `src/frontend/src/instance.rs`: capture context for SQL, plan, and PromQL slow query timers.
- `tests-integration/tests/sql.rs`: assert MySQL and PostgreSQL slow query records include catalog and schema.
Signed-off-by: Lei, HUANG <ratuthomm@gmail.com >
* fix: address slow query review comment
Use `String::clone` when writing slow query catalog and schema values.
Signed-off-by: Lei, HUANG <ratuthomm@gmail.com >
* fix: keep slow query schema only
Remove the slow query `catalog_name` column and keep `schema_name` as a non-null tag dimension.
- `src/common/frontend/src/slow_query_event.rs`: expose only `schema_name` in `SlowQueryEvent` rows and mark it as a tag.
- `src/catalog/src/process_manager.rs`: stop carrying catalog context in `SlowQueryTimer`.
- `src/frontend/src/instance.rs`: pass only schema context to slow query timers.
- `tests-integration/tests/sql.rs`: assert slow query records include `schema_name` without `catalog_name`.
Signed-off-by: Lei, HUANG <ratuthomm@gmail.com >
* fix: schema name semantic should be field
Signed-off-by: Lei, HUANG <ratuthomm@gmail.com >
* fix: typo
Signed-off-by: Lei, HUANG <ratuthomm@gmail.com >
---------
Signed-off-by: Lei, HUANG <ratuthomm@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: invalidate comment DDL cache and lock by object ID (#8390 )
* fix: invalidate comment ddl cache locally
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: fix typos
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: client_ip error logs skip internal API (#8362 )
* chore: client_ip error logs skip internal API
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* fix: fmt
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: use const
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: use const
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
---------
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* feat: update dashboard to v0.13.6 (#8369 )
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: use ENV for building dashboard (#8384 )
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: handle PromQL time binary aggregation (#8398 )
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* perf(mito): prune files by manifest time range (#8352 )
* perf(mito): prune files by manifest time range
Signed-off-by: discord9 <discord9@163.com >
* chore(mito): address file pruning review
Signed-off-by: discord9 <discord9@163.com >
* chore(mito): remove verbose file pruning log
Signed-off-by: discord9 <discord9@163.com >
* chore(mito): expose file pruning metric
Signed-off-by: discord9 <discord9@163.com >
* chore(mito): shorten file pruning metric
Signed-off-by: discord9 <discord9@163.com >
* test(mito): cover file pruning edge cases
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* perf(mito): skip manifest-pruned file ranges (#8366 )
* perf(mito): skip manifest-pruned file ranges
Signed-off-by: discord9 <discord9@163.com >
* test(mito): allow empty prune benchmark output
Signed-off-by: discord9 <discord9@163.com >
* fix(mito): avoid caching stale pruned builders
Signed-off-by: discord9 <discord9@163.com >
* chore(mito): address pruner clippy
Signed-off-by: discord9 <discord9@163.com >
* fix(mito): account worker pruner builder metrics
Signed-off-by: discord9 <discord9@163.com >
* test(mito): keep empty prune benchmark local
Signed-off-by: discord9 <discord9@163.com >
* refactor(mito): share manifest-pruned range skip
Signed-off-by: discord9 <discord9@163.com >
* chore(mito): shorten prune cache comment
Signed-off-by: discord9 <discord9@163.com >
* fix(mito): keep manifest prune state in pruner
Signed-off-by: discord9 <discord9@163.com >
* test(mito): cover manifest prune fast skip edge cases
Signed-off-by: discord9 <discord9@163.com >
* chore: fix typo in logical table alter
Signed-off-by: discord9 <discord9@163.com >
* chore(mito): address pruner review comments
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: bump version to v1.1.2
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: evenyag <realevenyag@gmail.com >
Signed-off-by: WenyXu <wenymedia@gmail.com >
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
Signed-off-by: discord9 <discord9@163.com >
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
Signed-off-by: Ritwij Aryan Parmar <ritwij.aryan.parmar@gmail.com >
Signed-off-by: Lei, HUANG <ratuthomm@gmail.com >
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
Co-authored-by: Yingwen <realevenyag@gmail.com >
Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com >
Co-authored-by: discord9 <discord9@163.com >
Co-authored-by: jeremyhi <jiachun_feng@proton.me >
Co-authored-by: Ritwij Aryan Parmar <88580521+RitwijParmar@users.noreply.github.com >
Co-authored-by: shuiyisong <113876041+shuiyisong@users.noreply.github.com >
Co-authored-by: sun <sunchang_long@163.com >
2026-07-02 21:21:19 +08:00
126c212546
chore: pick fixes and bump version to v1.1.1 ( #8332 )
...
* fix: remove flow sink table lock (#8317 )
Signed-off-by: discord9 <discord9@163.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix: guard structured JSON alignment paths against legacy JSONB columns (#8323 )
* Initial plan
* fix: guard structured json alignment to fix Clippy CI failure
- Add `is_structured_json_field` function that only returns true for
fields with both JSON extension type AND Struct Arrow data type
- Replace all usages of `is_json_extension_type` / `has_json_extension_field`
with `is_structured_json_field` to prevent legacy JSONB binary columns
from entering structured JSON alignment paths
- Fix logic in `FlatProjectionMapper::new_with_read_columns` to guard
JSON type hint concretization for JSON2 columns only
- Fix `create_column` in show_create_table.rs to only emit JSON structure
settings for JSON2 columns
- Move `mod tests` to end of flat_projection.rs to fix clippy::items_after_test_module
- Add tests for legacy JSON behavior
* fix: guard narrow_read_columns_by_json_type_hint with is_structured_json_field check
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
* chore: bump version to v1.1.1
Signed-off-by: evenyag <realevenyag@gmail.com >
---------
Signed-off-by: discord9 <discord9@163.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
Co-authored-by: discord9 <discord9@163.com >
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
2026-06-18 16:20:04 +08:00
dennis zhuang and Yingwen
c9062fe042
feat: add password hash generation command ( #8288 )
...
* feat: add password hash generation command
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* fix: reject empty password in hash-password command
A blank plaintext password is rejected by the user provider before
verifier comparison, so a verifier generated from an empty password is
unusable. Fail fast on EOF or an empty line from --password-stdin (and on
an empty --password) instead of printing a dead verifier.
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
---------
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
Co-authored-by: Yingwen <realevenyag@gmail.com >
2026-06-12 13:28:38 +00:00
Weny Xu
1ca29c3481
feat: support create region requirements ( #8281 )
...
* feat: support create region requirements
Signed-off-by: WenyXu <wenymedia@gmail.com >
* feat: require object storage for repartition creates
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: upgrade proto
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
2026-06-12 11:12:41 +00:00
jeremyhi
34c4cae9bb
feat(cli): add import-v2 progress UI ( #8289 )
...
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
2026-06-12 09:45:45 +00:00
Weny Xu
61f802cdf2
feat: support repartition with target partition columns ( #8278 )
...
* feat(sql): support repartition on columns syntax
Signed-off-by: WenyXu <wenymedia@gmail.com >
* feat(meta): support repartition target partition columns
Signed-off-by: WenyXu <wenymedia@gmail.com >
* feat(operator): wire repartition target columns
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix(operator): validate repartition target columns
Signed-off-by: WenyXu <wenymedia@gmail.com >
* test: cover repartition on columns integration
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix(operator): validate duplicate target partition columns
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: upgrade proto
Signed-off-by: WenyXu <wenymedia@gmail.com >
* fix: fix unit tests
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
2026-06-12 07:36:53 +00:00
dennis zhuang
ab552e24b5
feat(security): add password verifier formats ( #8251 )
...
* feat: add password verifier formats
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* fix: harden password verifier parsing and auth config errors
- Reject pbkdf2_sha256 verifiers whose hash is not 32 bytes and bound the
salt length, preventing short-hash verifiers from matching on a prefix.
- Verify pbkdf2_sha256 with a stack-allocated buffer.
- Report only the length, not the bytes, when a mysql native password
verifier has an illegal length.
- Map empty frontend_auth credentials to an invalid-config error instead
of an internal error.
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* chore: update config.md
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* fix: skip non-plain verifiers in get_one_user_pwd
Pick the first plain-text credential instead of failing when the first
user happens to hold a hashed verifier.
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* fix: format
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
* chore: remove unused get_one_user_pwd
Internal flownode-to-frontend communication no longer authenticates
(see #8244 ), so the plain-text credential export path is dead code.
Drop get_one_user_pwd, its now-orphan as_plain_text helper, and the
related tests.
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
---------
Signed-off-by: Dennis Zhuang <killme2008@gmail.com >
2026-06-12 01:23:44 +00:00
LFC
92a915b5a0
feat: json2 field access pushdown to parquet ( #8267 )
...
* feat: json2 field access pushdown to parquet
Signed-off-by: luofucong <luofc@foxmail.com >
* resolve PR comments
Signed-off-by: luofucong <luofc@foxmail.com >
* resolve PR comments
Signed-off-by: luofucong <luofc@foxmail.com >
---------
Signed-off-by: luofucong <luofc@foxmail.com >
2026-06-11 02:10:30 +00:00
discord9
8fc5a3b1c7
feat: apply remote dynamic filters on datanode scans ( #8262 )
...
* feat: apply rdf
Signed-off-by: discord9 <discord9@163.com >
* chore: clippy
Signed-off-by: discord9 <discord9@163.com >
* fix: drop remote dyn filter fallback exec
Signed-off-by: discord9 <discord9@163.com >
* Revert "fix: drop remote dyn filter fallback exec"
This reverts commit bb757a596c3c2c078a836aa623226b7934103634.
Signed-off-by: discord9 <discord9@163.com >
* refactor: use rdf receiver logical plan instead
Signed-off-by: discord9 <discord9@163.com >
* test: update sqlness
Signed-off-by: discord9 <discord9@163.com >
* feat: rdf disable option
Signed-off-by: discord9 <discord9@163.com >
* tests: large int tests
Signed-off-by: discord9 <discord9@163.com >
* chore: clippy
Signed-off-by: discord9 <discord9@163.com >
* refactor: per review
Signed-off-by: discord9 <discord9@163.com >
* test: update prec fix
Signed-off-by: discord9 <discord9@163.com >
* fix: make receiver node works
Signed-off-by: discord9 <discord9@163.com >
* refactor: per review
Signed-off-by: discord9 <discord9@163.com >
* fix: tql disable rdf
Signed-off-by: discord9 <discord9@163.com >
* chore: rm useless joins
Signed-off-by: discord9 <discord9@163.com >
* fix: also disable in flow tql
Signed-off-by: discord9 <discord9@163.com >
* refactor: per review rm to promql
Signed-off-by: discord9 <discord9@163.com >
* chore: promql ut
Signed-off-by: discord9 <discord9@163.com >
* per review
Signed-off-by: discord9 <discord9@163.com >
* test: rm misleading&add some nested/cleanup
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
2026-06-10 12:57:23 +00:00
Yingwen
1451a51ea0
feat: add tools for development ( #8260 )
...
* feat(cmd): add dev-tools binary with parquetbench command
Signed-off-by: evenyag <realevenyag@gmail.com >
* chore: add feature gate dev-tools
Signed-off-by: evenyag <realevenyag@gmail.com >
* feat(dev-tools): print output column count in parquetbench
Signed-off-by: evenyag <realevenyag@gmail.com >
* feat(dev-tools): print output schema in parquetbench
Signed-off-by: evenyag <realevenyag@gmail.com >
* refactor(cmd): move parquetbench into datanode CLI, drop dev-tools binary
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix(dev-tools): validate pprof-after-warmup requires >=2 iterations
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix(dev-tools): use absolute path instead of super:: import in parquetbench
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix(dev-tools): base parquetbench throughput on scanned row-group bytes
Signed-off-by: evenyag <realevenyag@gmail.com >
---------
Signed-off-by: evenyag <realevenyag@gmail.com >
2026-06-09 08:12:21 +00:00
shuiyisong
5fd5b91b29
chore: remove auth in flownode ( #8244 )
...
* chore: remove auth in flownode
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: update docs
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: add flow startup check
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* fix: clippy
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
---------
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
2026-06-08 08:15:19 +00:00
Ning Sun
0881b7ba32
feat: pgwire 0.40 ( #8257 )
2026-06-08 07:31:08 +00:00
discord9
6b7772e457
feat: add remote dynamic filter frontend registration ( #8148 )
...
* feat: filter id
Signed-off-by: discord9 <discord9@163.com >
* feat: dyn filter registry
Signed-off-by: discord9 <discord9@163.com >
* feat: filter id&refactor to type
Signed-off-by: discord9 <discord9@163.com >
* feat: merge scan register dyn filter(not send yet)
Signed-off-by: discord9 <discord9@163.com >
* feat: init reg dyn filter
Signed-off-by: discord9 <discord9@163.com >
* wip: remote dyn filter task 03
Signed-off-by: discord9 <discord9@163.com >
* fix: resolve remote dyn filter rebase fallout
Signed-off-by: discord9 <discord9@163.com >
* chore: keep remote dyn filter docs local
Signed-off-by: discord9 <discord9@163.com >
* chore: remove stale filter id allow
Signed-off-by: discord9 <discord9@163.com >
* chore: clippy
Signed-off-by: discord9 <discord9@163.com >
* chore: fix remote dyn filter import style
Signed-off-by: discord9 <discord9@163.com >
* chore: fix query metrics test fallout
Signed-off-by: discord9 <discord9@163.com >
* fix: exclude region from remote dyn filter id
Signed-off-by: discord9 <discord9@163.com >
* chore: import
Signed-off-by: discord9 <discord9@163.com >
* refactor: rm some to latter
Signed-off-by: discord9 <discord9@163.com >
* feat: add initial dyn filter snapshot
Signed-off-by: discord9 <discord9@163.com >
* refactor: per review
Signed-off-by: discord9 <discord9@163.com >
* docs: better comment, rm some slop
Signed-off-by: discord9 <discord9@163.com >
* chore: per review
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
2026-06-04 12:31:42 +00:00
Lei, HUANG
da9d314fa4
fix: align bulk insert schema handling ( #8222 )
...
* fix: align bulk insert schema handling
Carry `aligned_schema_version` through bulk insert requests so datanode can recheck stale schemas only when needed. Use the physical data region schema version for metric logical bulk inserts, while external bulk insert callers leave alignment unknown.
Related files:
- `Cargo.toml`
- `Cargo.lock`
- `src/store-api/src/region_request.rs`
- `src/metric-engine/src/engine/bulk_insert.rs`
- `src/mito2/src/request.rs`
- `src/mito2/src/worker/handle_bulk_insert.rs`
- `src/mito2/src/worker/handle_write.rs`
- `src/operator/src/bulk_insert.rs`
- `src/servers/src/pending_rows_batcher.rs`
- `src/mito2/src/engine/edit_region_test.rs`
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* test: cover bulk insert missing columns
Add Flight bulk insert coverage for batches that omit nullable columns and verify the database fills the missing values with nulls.
Related files:
- `tests-integration/src/grpc/flight.rs`
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* chore: update proto to main branch commit
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* fix: align physical metric bulk insert schema
Pass the physical schema version through metric bulk insert requests so
physical and logical region writes share the same schema alignment behavior.
Files:
- \`src/metric-engine/src/engine/bulk_insert.rs\` — updates \`bulk_insert_physical_region\` and reuses \`physical_schema_version\` for bulk insert schema alignment.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* chore: add some doc
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
---------
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
2026-06-04 02:55:09 +00:00
shuiyisong
f3919a3117
chore: update vrl to 0.33 ( #8219 )
...
* chore: update vrl to 0.33
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: reuse thread local runtime
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
---------
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
2026-06-02 10:04:15 +00:00
LFC
7f6400e460
refactor: optimize compaction's pick time ( #8197 )
...
refactor: optimize compaction's pick
Signed-off-by: luofucong <luofc@foxmail.com >
2026-06-02 03:14:17 +00:00
dependabot[bot]
3e89cba336
chore(deps): bump tar from 0.4.45 to 0.4.46 ( #8209 )
...
Bumps [tar](https://github.com/composefs/tar-rs ) from 0.4.45 to 0.4.46.
- [Release notes](https://github.com/composefs/tar-rs/releases )
- [Commits](https://github.com/composefs/tar-rs/compare/0.4.45...0.4.46 )
---
updated-dependencies:
- dependency-name: tar
dependency-version: 0.4.46
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-02 00:27:02 +00:00
shuiyisong
a796dbf1a0
chore: update opendal to 0.57 ( #8204 )
...
* chore: update opendal to 0.57
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: remove duplicate compat to use opendal's
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
---------
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
2026-06-01 07:45:44 +00:00
Lei, HUANG
9a4e5e8457
chore: expose region info inspection table ( #8178 )
...
* chore/region-sync-diff: add region info inspection core
- `store-api`: add `RegionInfoEntry` schema and plan builder in `src/store-api/src/region_info.rs` and export it from `src/store-api/src/lib.rs`
- `mito2`: collect region runtime metadata with `MitoEngine::all_region_infos` and `RegionRoleState::as_str` in `src/mito2/src/engine.rs`, `src/mito2/src/region.rs`, `src/mito2/src/engine/basic_test.rs`, `src/mito2/Cargo.toml`, and `Cargo.lock`
- `datanode`: expose the reserved `InspectRegionInfo` provider in `src/datanode/src/region_server/catalog.rs`
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* chore/region-sync-diff: expose region info schema table
- `information_schema.region_info`: add frontend table wiring in `src/catalog/src/system_schema/information_schema.rs`, `src/catalog/src/system_schema/information_schema/region_info.rs`, `src/catalog/src/system_schema/information_schema/table_names.rs`, and `src/common/catalog/src/consts.rs`
- `region_group` removal: drop `region_group` from `src/store-api/src/region_info.rs`, `src/mito2/src/region.rs`, and `src/mito2/src/engine/basic_test.rs`
- `SQLness coverage`: add standalone coverage in `tests/cases/standalone/common/information_schema/region_info.sql` and `tests/cases/standalone/common/information_schema/region_info.result`
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* chore/region-sync-diff: restore region group info
- `region_info` schema: restore `region_group` alongside `region_sequence` in `src/store-api/src/region_info.rs`, `src/mito2/src/region.rs`, `src/mito2/src/engine/basic_test.rs`, and `tests/cases/standalone/common/information_schema/region_info.result`
- `MitoEngine::all_region_infos`: remove redundant iterator conversion in `src/mito2/src/engine.rs`
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* fix: sqlness
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* fix: sqlness
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* chore/region-sync-diff: clarify region sequence columns
- `region_info` schema: rename `sequence` to `committed_sequence` and add nullable `flushed_sequence` in `src/store-api/src/region_info.rs` and `src/mito2/src/region.rs`
- `region_info` coverage: update sequence assertions and expected metadata in `src/mito2/src/engine/basic_test.rs`, `tests/cases/standalone/common/information_schema/region_info.sql`, `tests/cases/standalone/common/information_schema/region_info.result`, and `tests/cases/standalone/common/system/information_schema.result`
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* chore/region-sync-diff: report region options errors
- `region_info` output: preserve `region_options` serialization failures as JSON error objects in `src/mito2/src/region.rs`
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
---------
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
2026-05-28 09:52:37 +00:00
Weny Xu
f513b77ccc
feat: support alter table partition syntax ( #8177 )
...
* feat(sql): support alter table partition syntax
Signed-off-by: WenyXu <wenymedia@gmail.com >
* feat: support repartition source proto
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: update greptime-proto
Signed-off-by: WenyXu <wenymedia@gmail.com >
---------
Signed-off-by: WenyXu <wenymedia@gmail.com >
2026-05-26 15:06:14 +00:00
yihong
eb264d9adf
fix: faster jieba ( #8158 )
...
* fix: faster jieba
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
* fix: also update tantivy and the api
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
* fix: better bench follow the copilot review
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
* fix: apply comments
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
---------
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
2026-05-25 08:51:40 +00:00
discord9
8c267f3844
fix(mysql): keep unknown prepare placeholders ( #8150 )
...
* fix(mysql): keep unknown prepare placeholders
Signed-off-by: discord9 <discord9@163.com >
* fix(mysql): use span-based placeholder fallback
Signed-off-by: discord9 <discord9@163.com >
* fix(mysql): visit placeholders in all statements
Signed-off-by: discord9 <discord9@163.com >
* refactor(mysql): remove placeholder transform wrapper
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
2026-05-24 06:18:22 +00:00
LFC
a6dc55a71c
feat: show sst primary key range in information_schema ( #8137 )
...
Signed-off-by: luofucong <luofc@foxmail.com >
2026-05-20 12:50:18 +00:00
Yingwen
b97f630adb
chore: bump version to v1.1.0 ( #8131 )
...
Signed-off-by: evenyag <realevenyag@gmail.com >
2026-05-19 07:15:44 +00:00
shuiyisong
fafa677012
chore: use opendal main branch ( #8118 )
...
* chore: use opendal main branch
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* fix: fmt
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
---------
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
2026-05-15 23:01:50 +00:00
Ruihang Xia
c9f73b1696
feat: start environments in parallel ( #8101 )
...
* start environments in parallel
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* use merged commit
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix bins_dir racing
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2026-05-14 09:44:26 +00:00
Ruihang Xia and discord9
3b3f5d628d
feat: bump datafusion to 53 ( #8107 )
...
* feat: bump datafusion to 53
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* use updated datafusion-orc
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* maintain topk in part sort
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* docs: clarify part_sort range detection and Null threshold semantics
* fix limit 0
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: discord9 <discord9@163.com >
2026-05-14 08:33:31 +00:00
discord9
923c4227a3
feat: remote dyn filter basics ( #7979 )
...
* feat: dyn filter update abi
Signed-off-by: discord9 <discord9@163.com >
* feat: add remote dyn filter region rpc scaffolding
Signed-off-by: discord9 <discord9@163.com >
* feat: query id
Signed-off-by: discord9 <discord9@163.com >
* fix: prevent spoof
Signed-off-by: discord9 <discord9@163.com >
* fix: more proofing
Signed-off-by: discord9 <discord9@163.com >
* feat: make payload base64
Signed-off-by: discord9 <discord9@163.com >
* chore
Signed-off-by: discord9 <discord9@163.com >
* update
Signed-off-by: discord9 <discord9@163.com >
* chore: resolve conflict
Signed-off-by: discord9 <discord9@163.com >
* chore: update to main
Signed-off-by: discord9 <discord9@163.com >
* fix: add back defensive check
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
2026-05-14 04:05:56 +00:00
shuiyisong
dd420e33fe
fix: add standalone flag in standalone tests ( #8100 )
...
* fix: test
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* fix: fmt and cargo.lock
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
---------
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
2026-05-12 10:43:57 +00:00
Ruihang Xia
9133d0464f
feat: pre-cast constants ( #7926 )
...
* init impl
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* handle no cast
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* refactor using common-expr
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* extend matching pattern
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* more tests
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* simplification
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix zero timestamp
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix: normalize sqlness partition count output
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix: normalize remaining sqlness plan output
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix: normalize sqlness repartition details in tql explain
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix: tighten const normalization casts
* test: normalize standalone tql explain repartition output
* resolve cr comments
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* simplify
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2026-05-12 09:23:43 +00:00
jeremyhi
d709fd29ef
feat: import resume part2 ( #8070 )
...
* feat: import resume part2
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* fix: by AI comments
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* fix: by AI comments
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* fix: by comments
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* fix: condig docs
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
---------
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
2026-05-12 02:56:52 +00:00
LFC
7a285c2890
feat: concretize json type from query ( #8081 )
...
* feat: concretize json type from query
Signed-off-by: luofucong <luofc@foxmail.com >
* resolve PR comments
Signed-off-by: luofucong <luofc@foxmail.com >
* add more tests
Signed-off-by: luofucong <luofc@foxmail.com >
---------
Signed-off-by: luofucong <luofc@foxmail.com >
2026-05-09 07:27:40 +00:00
Han
b5997c6797
test: cover standalone user provider config ( #8067 )
...
* test: cover standalone user provider config
Signed-off-by: Detachm <42765252+Detachm@users.noreply.github.com >
* test: cover config-driven http auth
Signed-off-by: Detachm <42765252+Detachm@users.noreply.github.com >
---------
Signed-off-by: Detachm <42765252+Detachm@users.noreply.github.com >
2026-05-08 08:56:22 +00:00
dependabot[bot]
bb58ff1400
chore(deps): bump rustls-webpki from 0.103.10 to 0.103.13 ( #8077 )
...
Bumps [rustls-webpki](https://github.com/rustls/webpki ) from 0.103.10 to 0.103.13.
- [Release notes](https://github.com/rustls/webpki/releases )
- [Commits](https://github.com/rustls/webpki/compare/v/0.103.10...v/0.103.13 )
---
updated-dependencies:
- dependency-name: rustls-webpki
dependency-version: 0.103.13
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-07 09:38:33 +00:00
LFC
160b7e720b
feat: json expr planner ( #8066 )
...
Signed-off-by: luofucong <luofc@foxmail.com >
2026-05-07 06:44:46 +00:00
shuiyisong
a38c55d486
chore: update opendal's version to official 0.56 ( #8069 )
...
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
2026-05-07 03:17:16 +00:00
LFC
457fd03008
refactor: make json_get adapted with JSON2 ( #8043 )
...
* refactor: make `json_get` adapted with JSON2
Signed-off-by: luofucong <luofc@foxmail.com >
* resolve PR comments
Signed-off-by: luofucong <luofc@foxmail.com >
---------
Signed-off-by: luofucong <luofc@foxmail.com >
2026-04-29 07:06:32 +00:00
Weny Xu
0c942fc23a
refactor: unify frontend discovery with active peer discovery ( #8031 )
...
* feat: add MetaClient peer discovery support
Signed-off-by: WenyXu <wenymedia@gmail.com >
* refactor: reuse peer discovery for flow frontend discovery
Signed-off-by: WenyXu <wenymedia@gmail.com >
* refactor: use active frontend peers in process manager
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: apply suggestions from CR
Signed-off-by: WenyXu <wenymedia@gmail.com >
* chore: add comments
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 >
2026-04-27 06:40:37 +00:00
shuiyisong and evenyag
0effc30778
chore: update the opendal to 0.56 rc2 ( #8003 )
...
* chore: update opendal version
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: update opendal version
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: fix test
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* fix: grpc init
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* fix: dep versions
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* fix: remove aws-lc-rs in reqwest
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: rebase main and fix compile
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* fix: remove unused deps
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* Revert "fix: remove aws-lc-rs in reqwest"
This reverts commit 90bfafca06f877befb36f3e54bb72fcfc4c56778.
* chore: remove aws-lc-sys from blacklist
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: fix sqlness
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: add tls deps
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* fix: idemptent install in rds
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* fix: test
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: use aws-lc-sys as possible
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* fix: lint
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* fix: address comments
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: address CR issue
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix: sync opendal compat adapter with upstream
Signed-off-by: evenyag <realevenyag@gmail.com >
* fix: address compat clippy warnings
Signed-off-by: evenyag <realevenyag@gmail.com >
---------
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
Signed-off-by: evenyag <realevenyag@gmail.com >
Co-authored-by: evenyag <realevenyag@gmail.com >
2026-04-26 09:59:48 +00:00
Palak Jha
aaa3f2cdf9
feat: support gRPC-Web on frontend gRPC server ( #8027 )
...
feat: add gRPC-Web support using tonic-web
Signed-off-by: polar <palakjha916@gmail.com >
2026-04-24 06:48:15 +00:00
jeremyhi
e316797fff
feat(cli): add retry and import state fundations ( #8007 )
...
* feat(cli): add retry and import state fiundations
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* fix: by AI comments
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* fix: by AI comments
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
* fix: by human comments
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
---------
Signed-off-by: jeremyhi <fengjiachun@gmail.com >
2026-04-23 04:38:36 +00:00
Lei, HUANG
f6851cf8d7
feat(mito2): add PK-range-aware TWCS overlap handling ( #7954 )
...
* feat(mito2): extract and cache primary key range for SST files
Extracts primary key ranges from SST files during flush and compaction, and caches them in FileHandle for future use (e.g., overlapping checks).
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* feat/compaction-overlapping-check:
- **Enhance Primary Key Range Logic**: Updated the `primary_key_ranges_overlap` function in `run.rs` to use `chunk()` for comparing byte ranges, improving accuracy in overlap detection.
- **Refactor Run Assignment Logic**: Simplified the logic for assigning items to runs in `run.rs` by removing redundant match statements and using `is_empty()` and `iter().any()` for cleaner checks.
- **Add Test for Transitivity Break**: Introduced a new test `test_find_sorted_runs_handles_2d_transitivity_break` in `run.rs` to ensure correct handling of transitivity breaks in sorted runs.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* feat/compaction-overlapping-check:
- **Remove PK-disjoint detection logic**: Simplified the compaction logic in `twcs.rs` by removing the `has_time_overlapping_pairs` function and related logic for PK-disjoint detection. This includes the removal of the `append_mode_force_compact` condition and associated tests.
- **Update compaction trigger settings**: Modified `append_mode_test.rs` to set `compaction.twcs.trigger_file_num` to "2" and adjusted the expected number of files in the scanner assertion from 1 to 2.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* chore: rebase main
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* feat/compaction-overlapping-check:
### Remove Unused Import in `compactor.rs`
- Removed the unused import `compact_request` from `compactor.rs` to clean up the codebase.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* fix: tighten `mito2` file lifecycle handling
Refine compaction, flush, and SST/version bookkeeping across `src/mito2/src/compaction/*`, `src/mito2/src/flush.rs`, `src/mito2/src/region/*`, `src/mito2/src/sst/*`, and related tests/utilities.
* fix: reuse primary key range merge in twcs compaction
Centralize primary key range merging so can call the shared helper from .
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* refactor(mito2): simplify `FileHandle` initialization and internalize primary key range extraction
- Updated `FileHandle::new` to automatically compute the primary key range directly from `FileMeta`.
- Restricted `FileHandle::new_with_primary_key_range` to be test-only by adding the `#[cfg(test)]` attribute.
- Simplified `SstVersion::add_files` by adopting the updated `FileHandle::new` instead of manually providing the primary key range.
Modified files:
- `src/mito2/src/sst/file.rs`
- `src/mito2/src/sst/version.rs`
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* feat/compaction-overlapping-check:
### Improve File Management and Documentation
- **`twcs.rs`**: Added a comment to clarify the merging of small files when there are no overlapping files.
- **`version.rs` (in `region` and `sst`)**: Enhanced documentation for `add_files` method, explaining its functionality and panic conditions. Simplified the file handle creation logic in `sst/version.rs`.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* feat/compaction-overlapping-check:
### Enhance Primary Key Range Handling in `opener.rs`
- Updated logic in `opener.rs` to set the primary key range for file handles when it is not already defined. This change ensures that the primary key range is extracted and set using `extract_primary_key_range` when necessary.
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
* docs: add docs for the necessity of checking pk and timesmaps while find overlapping files.
* chore: address review comments
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
---------
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com >
2026-04-21 03:23:22 +00:00
LFC
c7427fa6d2
feat: json2 insert ( #7981 )
...
* feat: json2 insert
Signed-off-by: luofucong <luofc@foxmail.com >
* resolve PR comments
Signed-off-by: luofucong <luofc@foxmail.com >
* use main greptime-proto
Signed-off-by: luofucong <luofc@foxmail.com >
---------
Signed-off-by: luofucong <luofc@foxmail.com >
2026-04-20 09:45:32 +00:00
LFC
a870b53f68
fix: mysql prepare correctly returns error instead of panic ( #7963 )
...
feat: mysql writer support multiple statement execution
Signed-off-by: luofucong <luofc@foxmail.com >
2026-04-15 01:59:16 +00:00
shuiyisong
6fcca6e0d6
feat: implement trace type whitelist ( #7930 )
...
* feat: implement trace type whitelist
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: use opentelemetry_semantic_conventions for key name
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: add ref doc in the comments
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* fix: fmt toml
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: introduce trace_semconv.rs for holding the mapping
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* chore: update key list
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
* fix: fmt
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
---------
Signed-off-by: shuiyisong <xixing.sys@gmail.com >
2026-04-14 09:12:41 +00:00
fys
62013217c7
fix: cargo check -p common-meta ( #7964 )
...
fix: moka feature
2026-04-14 08:27:22 +00:00
discord9
3750819f93
fix: match term zh ( #7952 )
...
* fix: match term zh
Signed-off-by: discord9 <discord9@163.com >
* chore: per gemini
Signed-off-by: discord9 <discord9@163.com >
* chore: revert accident change
Signed-off-by: discord9 <discord9@163.com >
* feat: unicode script han
Signed-off-by: discord9 <discord9@163.com >
---------
Signed-off-by: discord9 <discord9@163.com >
2026-04-13 13:04:11 +00:00