Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3722 commits
Select commit Hold shift + click to select a range
4f7398a
refactor(meta): add Lua API documentation and benchmarking tools (#18…
drmingdrmer Jul 31, 2025
d11c4fa
fix: vacuum drop table with limit does not work (#18460)
SkyFan2002 Aug 1, 2025
082edcd
fix(query): only account_admin role can modify setting network_policy…
TCeason Aug 1, 2025
baf9725
feat: add Lua admin client support and metrics subcommand to metactl …
drmingdrmer Aug 1, 2025
27b415c
ci: add procps to query image (#18463)
everpcpc Aug 1, 2025
8deda8b
Update fetch_log.sh: fetch with server timezone
bohutang Aug 1, 2025
938c51a
chore(query): update comment in rule_grouping_sets_to_union.rs (#18450)
xiedeyantu Aug 1, 2025
9f7ad36
Update restore_logs.sh: add interactive mode to select the file from …
bohutang Aug 1, 2025
5f068bc
ci: fix publish dbg (#18464)
everpcpc Aug 1, 2025
e156b20
refactor: optimize list some OwnershipObjects (#18455)
TCeason Aug 1, 2025
65240a4
refactor(query): Improve parse json performance (#18451)
b41sh Aug 2, 2025
137b523
fix(meta): export should log large chunk of snapshot cache data (#18469)
drmingdrmer Aug 2, 2025
d48b7bc
chore: refine cte profile (#18467)
SkyFan2002 Aug 2, 2025
082e3b7
refactor(query): refactor row fetcher for avoid oom (#18440)
zhang2014 Aug 2, 2025
a59c38c
fix: collect statistics for MaterializeCTERef (#18470)
SkyFan2002 Aug 3, 2025
f91bf6f
ci: fix setup chaos meta (#18471)
everpcpc Aug 4, 2025
b76bef0
refactor(query): adjust the serialization of each aggregate function …
forsaken628 Aug 4, 2025
958b862
feat: enable block stream write (#18285)
zhyass Aug 4, 2025
2d30a7e
fix: reduce CI error rate of test_private_task (#18473)
KKould Aug 4, 2025
ca842e5
chore: fix stackoverflow in CleanupUnusedCTEOptimizer (#18476)
SkyFan2002 Aug 4, 2025
f017809
fix: attach table does not carry the indexes of the original table (#…
KKould Aug 4, 2025
7e169a7
fix: make update table meta idempotent (#18466)
SkyFan2002 Aug 4, 2025
71393c7
feat(query): Support `json_agg` function as an alias of `json_array_a…
b41sh Aug 5, 2025
6b15099
fix(query): Fix vector distance function can not accept array nullabl…
b41sh Aug 5, 2025
e570d28
feat(query): add system.zero table && support empty result for empty …
sundy-li Aug 5, 2025
473202d
feat: add header X-DATABEND-CLIENT-CAPS. (#18475)
youngsofun Aug 5, 2025
182e5c6
chore(query): add max node quota (#18474)
zhang2014 Aug 6, 2025
1258331
fix(query): refresh index lose data (#18482)
zhyass Aug 6, 2025
14134a4
chore(query): add cluster current resource status log (#18488)
zhang2014 Aug 6, 2025
9931f50
fix(query): fix update set with udf and filter (#18487)
b41sh Aug 6, 2025
a3273de
fix: unload to zip support file larger than 4GB. (#18485)
youngsofun Aug 6, 2025
ed005a8
ci: fix cat logs for metachaos (#18491)
everpcpc Aug 6, 2025
5945e57
chore(query): refine startup message (#18496)
sundy-li Aug 7, 2025
271ce7d
refactor: polish handling of fail in transaction (#18497)
youngsofun Aug 7, 2025
401d89d
fix(query): fix unable get column for join with rowfetch (#18486)
zhang2014 Aug 8, 2025
d8c9eae
feat(query): support create/drop/desc row policy (#18490)
TCeason Aug 8, 2025
7a90a83
Update restore_logs.sh: use local tar file if exists
bohutang Aug 8, 2025
a02c999
chore(query): fix grouping function in type checker (#18502)
sundy-li Aug 8, 2025
5ed4495
feat(meta-service): add timing monitoring for Raft-Log IO (#18509)
drmingdrmer Aug 9, 2025
8e2ad36
fix(query): ignore group_by_shuffle_mode in grouping set query (#18508)
sundy-li Aug 10, 2025
06d5848
fix(query): fix the 'not found' error caused by heartbeat loss on the…
zhang2014 Aug 10, 2025
23bf3d7
chore: remove unused ai-function (#18513)
bohutang Aug 11, 2025
67d671d
ci: fix meta verifier (#18515)
everpcpc Aug 11, 2025
e73bbe8
refactor(query): use default verify if the feature is not included in…
zhang2014 Aug 11, 2025
fbd8f78
feat: streaming load support session. (#18510)
youngsofun Aug 11, 2025
fd3ad03
feat(query): support create or replace role (#18500)
TCeason Aug 11, 2025
80deeed
ci: add explain analysis on cloud (#18521)
everpcpc Aug 12, 2025
b2fd93a
fix: collect stats fail with string starts with large unicodes. (#18523)
youngsofun Aug 12, 2025
f092968
feat: support push down filter to materialized cte (#18493)
SkyFan2002 Aug 12, 2025
8b928fa
chore: bump logforth to 0.23 (#18524)
forsaken628 Aug 13, 2025
afe673b
feat(query): Vector index support filter pushdown (#18516)
b41sh Aug 13, 2025
4a23deb
fix: improve error handling in history table (#18504)
dqhl76 Aug 13, 2025
2ba98f2
refactor: analyze table (#18514)
zhyass Aug 13, 2025
b6c97a4
chore(query): Tuning sort spill memory usage (#18520)
forsaken628 Aug 13, 2025
fe3f6c6
refactor: polish session in HTTP handler (#18527)
youngsofun Aug 14, 2025
73bfb16
chore: try telemetry (#18526)
bohutang Aug 14, 2025
d8415ee
chore: refine error message in transaction retry and add more log (#1…
SkyFan2002 Aug 14, 2025
72d5c82
refactor(meta): add state machine lock guards with debugging (#18534)
drmingdrmer Aug 14, 2025
dbd6f53
chore: added the `enable_binary_to_utf8_lossy` option for inserting l…
KKould Aug 15, 2025
8b5ac3c
feat(query): add user agent and metrics for jwks request (#18535)
everpcpc Aug 15, 2025
3c3255b
fix(query): panic if explaining complex joins (#18538)
dqhl76 Aug 15, 2025
91b5011
feat: support the `to_binary` with format (#18525)
KKould Aug 15, 2025
303c593
feat(scripts): add databend-meta log collection tool (#18539)
drmingdrmer Aug 15, 2025
b977514
refactor(meta-service): optimize state machine block loading with ear…
drmingdrmer Aug 16, 2025
4fca845
fix(meta-service): eliminate 250ms lock delay during snapshot compact…
drmingdrmer Aug 16, 2025
b144eab
Update restore_logs.sh: show stage file size
bohutang Aug 17, 2025
a28a7d3
refactor(catalog): add ErrorCodeResultExt trait for cleaner error han…
drmingdrmer Aug 17, 2025
c0f12f9
refactor(query): migrate physical plan from enum to trait-based archi…
zhang2014 Aug 17, 2025
bc44f58
refactor(query): merge memory、null、random、result_cache、view into stor…
zhang2014 Aug 17, 2025
f7efc2c
feat(query): add rule_deduplicated_sort (#18544)
xiedeyantu Aug 18, 2025
a139283
chore: add info in log for sticky node not found. (#18549)
youngsofun Aug 18, 2025
ff04924
feat(query): ALTER TABLE Row Access Policy (#18540)
TCeason Aug 18, 2025
fb2a560
feat: implement Tabular SQL UDFs (#18511)
KKould Aug 18, 2025
05753d9
chore(query): add more log for http get page (#18557)
zhang2014 Aug 18, 2025
3cbba37
feat: init support collecting meta node logs into history table (#18551)
dqhl76 Aug 18, 2025
c98b2af
feat(meta-service): implement structured metrics parsing with label s…
drmingdrmer Aug 18, 2025
cf6ddba
fix(query): the workload_group sort spill needs to be able to be forc…
forsaken628 Aug 18, 2025
e5fdd21
fix(query): Support the release of the query queue after the client c…
zhang2014 Aug 18, 2025
be58d88
fix(query): table `system.query_execution` output data type does not …
forsaken628 Aug 18, 2025
a77953f
chore(query): improve error of project_column_ref (#18531)
sundy-li Aug 18, 2025
b98558b
chore: change default telemetry endpoint (#18559)
everpcpc Aug 19, 2025
9ea37e8
chore: optimize compilation cache hit rate (#18529)
forsaken628 Aug 19, 2025
ed341af
refactor: schema-api test: consolidate Util usage and eliminate code …
drmingdrmer Aug 19, 2025
8686ba1
refactor: simplify database setup using Util across multiple test sce…
drmingdrmer Aug 19, 2025
fdd7b08
refactor: simplify session for worksheet. (#18530)
youngsofun Aug 19, 2025
2496067
refactor: replace AsKVApi with KVApi in schema test suite (#18564)
drmingdrmer Aug 19, 2025
ede42b4
refactor: replace manual database setup with Util across multiple tes…
drmingdrmer Aug 19, 2025
ff22a5c
chore(query): allow row as column ident (#18568)
sundy-li Aug 19, 2025
2209e45
fix: String type parameters will result in double quotes and the quer…
KKould Aug 20, 2025
432a428
refactor(query): add local semaphore for reduce meta's request (#18572)
zhang2014 Aug 20, 2025
d0f0e4b
chore: improve the unwrap error (#18571)
bohutang Aug 20, 2025
79ed72d
refactor: consolidate schema_api_test_suite CreateTableReq patterns w…
drmingdrmer Aug 20, 2025
88ef60a
fix: prevent history table's log loss during node startup (#18566)
dqhl76 Aug 21, 2025
21be76e
feat(query): Vector index support refresh (#18537)
b41sh Aug 21, 2025
628d1d2
fix: should not use array contains to implement inlist runtime filter…
SkyFan2002 Aug 21, 2025
ab86edb
feat(query): Enhance JSON parsing support extended json5 syntax (#18550)
b41sh Aug 21, 2025
5d9d372
fix: make create lock revision idempotent (#18576)
zhyass Aug 21, 2025
a332371
chore: improve the queue status (#18578)
bohutang Aug 21, 2025
fe7622e
refactor(query): add lock for meta semaphore request (#18579)
zhang2014 Aug 22, 2025
173d684
refactor: schema-api test: convert Get operations to use Util helper …
drmingdrmer Aug 22, 2025
5e8802f
feat: implement Scalar UDF (#18575)
KKould Aug 22, 2025
5cb3fc5
refactor: bring back temp table to cte (#18577)
SkyFan2002 Aug 23, 2025
a3ad46d
chore: add settings/login_history log fetch (#18586)
bohutang Aug 23, 2025
0811612
refactor: add `IdempotentKVTxnSender` (#18585)
dantengsky Aug 23, 2025
97ecd7f
feat(query): support function time_slice(date_or_time_expr, slice_len…
TCeason Aug 23, 2025
7cca5f5
fix(query): prevent stack overflow in CTE processing with recursive a…
bohutang Aug 23, 2025
77e0832
fix(query): prevent stack overflow in PhysicalPlan recursion (#18589)
bohutang Aug 24, 2025
4e4bd5c
fix: `login_history` missing username when password incorrect (#18587)
dqhl76 Aug 24, 2025
93bbf9d
feat(telemetry): add meta endpoints information to telemetry data (#1…
bohutang Aug 24, 2025
1584469
feat(config): improve spill configuration with structured (#18593)
bohutang Aug 25, 2025
294396e
fix(query): domain calc for int64 to timestamp is incorrect (#18597)
TCeason Aug 25, 2025
da7285f
refactor: avoid using RWlock, use semaphore instead (#18601)
drmingdrmer Aug 26, 2025
b04f40c
ci: do not retry on user cancel (#18603)
everpcpc Aug 26, 2025
bccf025
ci: fix cancelled conclusion (#18604)
everpcpc Aug 26, 2025
022aa3e
feat(meta-service): add a node to cluster as learner: databend-meta -…
drmingdrmer Aug 26, 2025
c76c8d1
feat: auto-generate table statistics during write (#18548)
zhyass Aug 26, 2025
c8d9b5f
fix: replace linear OR chain with balanced binary tree in build_inlis…
SkyFan2002 Aug 27, 2025
1fc8aed
Enhance table restoration with error handling
bohutang Aug 27, 2025
4db6fc2
ci: build build-tool on arm64 (#18611)
everpcpc Aug 27, 2025
91eb679
refactor: add heartbeat to reduce meta requests for history tables (#…
dqhl76 Aug 27, 2025
7c5ef29
ci: remove deprecated alpine build image (#18612)
everpcpc Aug 27, 2025
02a82ae
ci: remove nextest from dev image (#18614)
everpcpc Aug 27, 2025
3793d53
refactor(query): Optimize the `array_agg` function to reduce memory u…
b41sh Aug 27, 2025
e433367
feat(storage): show statistics (#18599)
zhyass Aug 27, 2025
8718060
ci: binstall target for rust tools (#18615)
everpcpc Aug 27, 2025
ff96040
refactor(meta-service): replace Vec with BTreeMap in ImmutableLevels …
drmingdrmer Aug 27, 2025
3e86955
refactor: restructure leveled map data architecture (#18619)
drmingdrmer Aug 27, 2025
0de16c6
fix: deserialization error of AdditionalStatsMeta.location (#18618)
zhyass Aug 27, 2025
1bccfd2
feat: support function 'or_filters' (#18606)
KKould Aug 28, 2025
dd8f8bf
fix: drop table ownership while vacuuming (#18613)
dantengsky Aug 28, 2025
7691048
feat(query): Supports fixed-length sort fields encoding (#18584)
forsaken628 Aug 28, 2025
542c761
ci: allow backport PRs to build cloud image (#18628)
everpcpc Aug 28, 2025
b5641a9
ci: retryable for status code 143 (#18630)
everpcpc Aug 28, 2025
bdb9778
feat(query): Hierarchical Grouping Sets Optimization (#18616)
sundy-li Aug 28, 2025
c379669
chore: migrating vergen to v9 (#18617)
forsaken628 Aug 28, 2025
b9d412d
refactor(query): revert pr 18589 (#18638)
zhang2014 Aug 28, 2025
38a3fa5
chore: rm unused test and data. (#18634)
youngsofun Aug 28, 2025
854f940
fix(test): flaky test from history table permit guard (#18624)
dqhl76 Aug 29, 2025
ed1f38b
ci: default run ci on ARM64 runner (#18610)
everpcpc Aug 29, 2025
4878a39
chore(meta-service): adjust internal structure for state machine (#18…
drmingdrmer Aug 29, 2025
476edfd
feat(query): add rule_merge_limit (#18636)
xiedeyantu Aug 29, 2025
08e4bd5
refactor(query): Optimize set returning function result block max byt…
b41sh Aug 29, 2025
862d49e
refactor(exception): enhance ErrorCodeResultExt with comprehensive er…
drmingdrmer Aug 29, 2025
79bec61
feat: add compile-time API freezing macro for struct compatibility (#…
bohutang Aug 29, 2025
6f68610
refactor(meta-api): consolidate schema API implementation (#18646)
drmingdrmer Aug 30, 2025
619960e
refactor(meta-service): remove deprecated rpc_delay_seconds metric (#…
drmingdrmer Aug 30, 2025
1a588ff
feat: implement separate RPC delay metrics for read and write operati…
drmingdrmer Aug 30, 2025
8f85a98
refactor(frozen-api): optimize API boundary protection (#18649)
bohutang Aug 31, 2025
a3bce5a
refactor(schema-api): extract DatabaseApi trait from SchemaApi (#18650)
drmingdrmer Aug 31, 2025
0826e0f
ci: add test_compat_client_standalone (#18631)
forsaken628 Aug 31, 2025
3ec71ef
refactor(schema-api): extract TableApi and IndexApi traits (#18652)
drmingdrmer Aug 31, 2025
688f6b8
ci: add telemetry source tracking for build environment identificatio…
bohutang Aug 31, 2025
6a0a670
ci: extract action for minio. (#18651)
youngsofun Sep 1, 2025
f07195c
ci: fix install nfpm (#18656)
everpcpc Sep 1, 2025
a57986d
refactor: refactor inlist runtime filter with or_filters and add con…
SkyFan2002 Sep 1, 2025
501a5a4
feat: Add `RuleFilterFlattenOr` (#18621)
KKould Sep 1, 2025
b6423c0
refactor(schema-api): extract CatalogApi trait from SchemaApi (#18654)
drmingdrmer Sep 1, 2025
21edb8b
feat: add settings to control analyze table (#18642)
zhyass Sep 1, 2025
29e8a99
refactor(schema-api): extract SecurityApi trait (#18658)
drmingdrmer Sep 1, 2025
41be3f7
ci: fix download artifact for sqlsmith (#18662)
everpcpc Sep 1, 2025
e99e622
ci: ttc test with nginx and minio. (#18657)
youngsofun Sep 1, 2025
76cca8f
fix(query): try fix hang for cluster aggregate (#18655)
zhang2014 Sep 1, 2025
872a7ba
refactor(query): remove useless ee feature (#18660)
zhang2014 Sep 2, 2025
029101a
feat(query): Add SecureFilter for Row Access Policies and Stats Priva…
TCeason Sep 2, 2025
3b109c0
refactor: extract garbage collection api to garbage_collection_api.rs…
drmingdrmer Sep 2, 2025
dec1921
feat(query): support `start` and `increment` options for sequence cre…
TCeason Sep 2, 2025
40190cb
chore: enable distributed recluster (#18644)
zhyass Sep 2, 2025
c1e8b01
refactor(meta): complete SchemaApi trait decomposition (#18669)
drmingdrmer Sep 2, 2025
c6b8621
fix(rbac): create or replace ownership_object should delete the old o…
TCeason Sep 2, 2025
f3dce95
chore(ci): make ci success (#18672)
TCeason Sep 2, 2025
522c7d5
fix(history-table): stop heartbeat when another node starts (#18664)
dqhl76 Sep 2, 2025
66c0a05
chore: add test about create sequence to keep old version (#18673)
TCeason Sep 3, 2025
c67f40a
Update bypass_env_vars in action.yml
bohutang Sep 3, 2025
41d95e9
chore: add some log for runtime filter (#18674)
SkyFan2002 Sep 3, 2025
1c9144c
fix: clean `db_id_table_name` during vacuuming dropped tables (#18665)
dantengsky Sep 3, 2025
ac46764
feat: support Check Constraint (#18661)
KKould Sep 3, 2025
f80614b
chore: add profile for runtime filter (#18675)
SkyFan2002 Sep 3, 2025
8950938
ci: compat test for JDBC use test from main. (#18668)
youngsofun Sep 3, 2025
94a1407
Update restore_logs.sh
bohutang Sep 3, 2025
b2cd4e4
Add fetch_meta_log.sh script for log collection
bohutang Sep 3, 2025
82bf138
feat(parser): add intelligent SQL error suggestion system (#18670)
bohutang Sep 4, 2025
3f8a918
chore: catch `to_date`/`to_timestamp` unwrap (#18677)
KKould Sep 4, 2025
e333923
feat: enhance resource scheduling logs with clear status and configur…
bohutang Sep 5, 2025
0912b80
feat(meta-semaphore): allows to specify timestamp as semaphore seq (#…
drmingdrmer Sep 5, 2025
56a0f67
fix: forbid transform with where clause. (#18681)
youngsofun Sep 5, 2025
f64aedd
chore(query): add retry for semaphore queue (#18689)
zhang2014 Sep 5, 2025
296e072
refactor(meta): extract utilities from monolithic util.rs (#18678)
drmingdrmer Sep 5, 2025
846b83c
refactor(query): split Spiller to provide more scalability (#18691)
forsaken628 Sep 7, 2025
960f44e
fix(query): fix incorrect order of group by items with CTE or subquer…
sundy-li Sep 7, 2025
84bce6a
fix(query): fix unable cast Variant Nullable type to Int32 type in ME…
b41sh Sep 7, 2025
17e855c
fix: meta-semaphore: re-connect when no event recevied (#18690)
drmingdrmer Sep 7, 2025
b20c33b
feat: support reset of worksheet session. (#18688)
youngsofun Sep 8, 2025
6b116c3
refactor(meta-semaphore): handle error occurs during new-stream, leas…
drmingdrmer Sep 8, 2025
376f34f
fix: collected profiles lost in cluster mode (#18680)
dqhl76 Sep 9, 2025
f879767
feat: impl Date & Timestamp on `RANGE BETWEEN` (#18696)
KKould Sep 9, 2025
3d49cd5
ci: run behave test of bendsql for compact. (#18697)
youngsofun Sep 9, 2025
76ecef3
fix(python-binding): complete Python binding CI configuration (#18686)
bohutang Sep 9, 2025
5d5a193
feat: add pybend Python binding with S3 connection and stage support …
bohutang Sep 9, 2025
eae24fb
fix(python-binding): resolve virtual environment permission conflicts…
bohutang Sep 10, 2025
a038e62
Simplify bindings.python.yml inputs
bohutang Sep 10, 2025
e31b444
Refactor Python package release workflow
bohutang Sep 10, 2025
dfad4bc
fix: error when using materialized CTE in multi-statement transaction…
SkyFan2002 Sep 10, 2025
254d06b
feat(query): add api to list stream (#18701)
everpcpc Sep 10, 2025
abea148
ci: Temporarily disable warehouse testing of private tasks (#18709)
KKould Sep 10, 2025
cfafaab
Refactor version parsing in build action
bohutang Sep 10, 2025
244b7c1
Refactor virtual environment setup in action.yml
bohutang Sep 10, 2025
364b231
Refactor macOS wheel build and publish steps
bohutang Sep 10, 2025
fa9b15e
fix(query): add config to the embed mode to clarify this mode (#18710)
zhang2014 Sep 10, 2025
3a12aec
chore(python-binding): documentation and PyPI metadata (#18711)
bohutang Sep 10, 2025
52cfb4b
Update repository URL in pyproject.toml
bohutang Sep 10, 2025
613a23a
fix: error occurred when retrying transaction on empty table (#18703)
SkyFan2002 Sep 10, 2025
1cf3d94
fix(query): column default expr should not cause seq.nextval modify (…
b41sh Sep 11, 2025
b4c437d
ci: migration `09_http_handler` to pytest (#18714)
forsaken628 Sep 11, 2025
af4fdd3
Revise README for improved clarity and structure
bohutang Sep 11, 2025
c35ba9d
Revise README for clarity on data warehouse features
bohutang Sep 12, 2025
9456941
refactor(meta-service): respond mget items in stream instead of in a …
drmingdrmer Sep 12, 2025
441c3ca
fix: `vacuum2` all should ignore SYSTEM dbs (#18712)
dantengsky Sep 12, 2025
92b7161
feat: `infer_schema` expands csv and ndjson support (#18552)
KKould Sep 13, 2025
513c10f
refactor(meta-service0): rotbl: use `spawn_blocking()` instead `block…
drmingdrmer Sep 13, 2025
36fd488
fix(meta-service): snapshot key count should be reset (#18718)
drmingdrmer Sep 14, 2025
602a040
refactor(raft-store): update trait interfaces and restructure leveled…
drmingdrmer Sep 15, 2025
636d4bb
feat(query): support result set spilling (#18679)
forsaken628 Sep 15, 2025
9451238
docs(raft-store): enhance documentation across all modules (#18721)
drmingdrmer Sep 15, 2025
fa53ff1
fix(meta-service): detach the SysData to avoid race condition (#18722)
drmingdrmer Sep 15, 2025
02636d0
chore: replace Arc<Mutex<SysData>> with SysData (#18723)
drmingdrmer Sep 16, 2025
0c0a375
fix(query): ensure jwt roles to user if not exists (#18720)
everpcpc Sep 16, 2025
cef5a63
chore: add error check on private task test script (#18698)
KKould Sep 16, 2025
e44a5e4
fix(query): Set Parquet default encoding to `PLAIN` to ensure data co…
b41sh Sep 16, 2025
581ed70
fix: last query id not only contain those cached. (#18727)
youngsofun Sep 17, 2025
56b3037
feat: add ANY_VALUE as alias for ANY aggregate function (#18728)
bohutang Sep 17, 2025
a63e93c
feat: add Immutable::compact to merge two level (#18731)
drmingdrmer Sep 17, 2025
db93be8
refactor: raft-store: in-memory readonly level compaction (#18736)
drmingdrmer Sep 17, 2025
c762a5a
refactor: new setting `max_vacuum_threads` (#18737)
dantengsky Sep 18, 2025
e9262e8
refactor: compactor internal structure (#18738)
drmingdrmer Sep 18, 2025
599c715
fix(query): reduce redundant result-set-spill logs during query waits…
bohutang Sep 18, 2025
28c6106
chore(meta-service): re-organize tests for raft-store (#18740)
drmingdrmer Sep 18, 2025
c3fee76
feat(rbac): procedure object support rbac (#18730)
TCeason Sep 18, 2025
b58f4f7
refactor(query): refactor the join partition to reduce memory amplifi…
zhang2014 Sep 18, 2025
c756b96
fix: fuse_vacuum2 panic while vauuming empty table with data_retentio…
dantengsky Sep 18, 2025
4d00bfb
refactor: Make the ownership key deletion and table/database replace …
TCeason Sep 18, 2025
5a68f14
feat: databend-metabench: benchmark list (#18745)
drmingdrmer Sep 18, 2025
1d80a08
ci: add compat test for databend-go. (#18734)
youngsofun Sep 19, 2025
6f596db
refactor(meta-service): separate raft-log-store and raft-state-machin…
drmingdrmer Sep 19, 2025
c5e901a
refactor: meta-service: simplify raft store and state machine (#18749)
drmingdrmer Sep 19, 2025
7559b21
feat: /v1/status include last_query_request_at. (#18750)
youngsofun Sep 19, 2025
7f5919c
fix: query dropped table in fuse_time_travel_size() report error (#18…
SkyFan2002 Sep 19, 2025
33e4011
refactor(query): stream style block writer for hash join spill
zhang2014 Sep 18, 2025
8f59bd5
refactor(query): stream style block writer for hash join spill
zhang2014 Sep 19, 2025
17ec111
refactor(query): stream style block writer for hash join spill
zhang2014 Sep 19, 2025
7d70667
refactor: preallocate zero offsets in binary compression
bohutang Sep 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
22 changes: 6 additions & 16 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,10 @@ ignore = [
# rio: v0.9.4 https://rustsec.org/advisories/RUSTSEC-2020-0021
# allows a use-after-free buffer access when a future is leaked
"RUSTSEC-2020-0021",
# time: Potential segfault in the time crate
# We are not affected by this CVE.
# And there is no actions we can take, waiting for upstream.
"RUSTSEC-2020-0071",
# hyper
# Lenient `hyper` header parsing of `Content-Length` could allow request smuggling
"RUSTSEC-2021-0078",
# hyper
# Integer overflow in `hyper`'s parsing of the `Transfer-Encoding` header leads to data loss
"RUSTSEC-2021-0079",
# ansi_term
# ansi_term is Unmaintained
"RUSTSEC-2021-0139",
# buf_redux
# buf_redux is Unmaintained
"RUSTSEC-2023-0028"
# rsa
# Marvin Attack: potential key recovery through timing sidechannels
"RUSTSEC-2023-0071",
# atty
# Potential unaligned read
"RUSTSEC-2021-0145",
]
12 changes: 12 additions & 0 deletions .config/version-schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"dependencies": {
"type": "object",
"properties": {
"databend-common-version": false
}
}
}
}
57 changes: 57 additions & 0 deletions .config/workspace-schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"dependencies": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"workspace": {
"type": "boolean",
"enum": [
true
]
}
},
"required": [
"workspace"
]
}
},
"dev-dependencies": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"workspace": {
"type": "boolean",
"enum": [
true
]
}
},
"required": [
"workspace"
]
}
},
"build-dependencies": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"workspace": {
"type": "boolean",
"enum": [
true
]
}
},
"required": [
"workspace"
]
}
}
}
}
3 changes: 1 addition & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
docker/** -text
scripts/** -text
website/databend/** -text
scripts/** -text
4 changes: 0 additions & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@
/src/common/http/ @datafuselabs/databend-api-reviewer
/src/query/service/src/servers/ @datafuselabs/databend-api-reviewer

# Website
/website/ @datafuselabs/databend-document-reviewer
/docs/ @datafuselabs/databend-document-reviewer

# Tool
/docker/ @datafuselabs/databend-tool-reviewer
/scripts/ @datafuselabs/databend-tool-reviewer
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/20_bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ body:
value: |
Thank you very much for submitting feedback to Databend to help Databend develop better.

If it is an idea or help wanted, please go to: [Discussion](https://github.com/datafuselabs/databend/discussions)
If it is an idea or help wanted, please go to: [Discussion](https://github.com/databendlabs/databend/discussions)

- type: checkboxes
attributes:
label: Search before asking
description: >
Please make sure to search in the [issues](https://github.com/datafuselabs/databend/issues) first to see
Please make sure to search in the [issues](https://github.com/databendlabs/databend/issues) first to see
whether the same issue was reported already.
options:
- label: >
I had searched in the [issues](https://github.com/datafuselabs/databend/issues) and found no similar
I had searched in the [issues](https://github.com/databendlabs/databend/issues) and found no similar
issues.
required: true

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Question
url: https://github.com/datafuselabs/databend/discussions/categories/q-a
url: https://github.com/databendlabs/databend/discussions/categories/q-a
about: Please ask and answer questions on the discussions Q&A category.
25 changes: 22 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

## Summary

Summary about this PR
<!--
Briefly describe what this PR aims to solve. Include background context that will help reviewers understand the purpose of the PR.

- Closes #issue
- fixes: #[Link the issue here]
-->

## Tests

- [ ] Unit Test
- [ ] Logic Test
- [ ] Benchmark Test
- [ ] No Test - _Explain why_

## Type of change

- [ ] Bug Fix (non-breaking change which fixes an issue)
- [ ] New Feature (non-breaking change which adds functionality)
- [ ] Breaking Change (fix or feature that could cause existing functionality not to work as expected)
- [ ] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):
37 changes: 11 additions & 26 deletions .github/actions/artifact_download/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ inputs:
description: ""
required: true
category:
description: "default/hdfs"
description: "default/hdfs/udf"
required: false
default: default
path:
description: "default to ./target/${BUILD_PROFILE}/"
required: false
default: ""
artifacts:
description: "Artifacts to download, only works with s3"
description: "Artifacts to download, only works with s3/gcs"
required: false
default: "meta,query"
outputs:
Expand All @@ -42,7 +42,7 @@ runs:
fi
echo "path=${path}" >> $GITHUB_OUTPUT

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: env.RUNNER_PROVIDER == 'github'
with:
name: ${{ env.BUILD_PROFILE }}-${{ inputs.sha }}-${{ inputs.target }}-${{ inputs.category }}
Expand All @@ -54,11 +54,7 @@ runs:
run: |
artifacts="${{ inputs.artifacts }}"
for artifact in ${artifacts//,/ }; do
if [[ "${artifact}" == "open-sharing" ]]; then
chmod +x ${{ steps.info.outputs.path }}/open-sharing || true
else
chmod +x ${{ steps.info.outputs.path }}/databend-$artifact
fi
chmod +x ${{ steps.info.outputs.path }}/databend-$artifact
done

- name: Download artifact from s3
Expand All @@ -67,32 +63,21 @@ runs:
run: |
artifacts="${{ inputs.artifacts }}"
for artifact in ${artifacts//,/ }; do
if [[ "${artifact}" == "open-sharing" ]]; then
echo "==> fetching open-sharing ..."
aws s3 cp s3://databend-ci/${{ env.BUILD_PROFILE }}/${{ inputs.sha }}/${{ inputs.target }}/${{ inputs.category }}/open-sharing ${{ steps.info.outputs.path }}/open-sharing --no-progress || true
chmod +x ${{ steps.info.outputs.path }}/open-sharing || true
else
echo "==> fetching databend-$artifact ..."
aws s3 cp s3://databend-ci/${{ env.BUILD_PROFILE }}/${{ inputs.sha }}/${{ inputs.target }}/${{ inputs.category }}/databend-$artifact ${{ steps.info.outputs.path }}/databend-$artifact --no-progress
chmod +x ${{ steps.info.outputs.path }}/databend-$artifact
fi
echo "==> fetching databend-$artifact ..."
aws s3 cp s3://databend-ci/${{ env.BUILD_PROFILE }}/${{ inputs.sha }}/${{ inputs.target }}/${{ inputs.category }}/databend-$artifact ${{ steps.info.outputs.path }}/databend-$artifact --no-progress
chmod +x ${{ steps.info.outputs.path }}/databend-$artifact
done

- name: Download artifact from gcs
if: env.RUNNER_PROVIDER == 'gcp'
shell: bash
run: |
gcloud config set storage/parallel_composite_upload_enabled False
artifacts="${{ inputs.artifacts }}"
for artifact in ${artifacts//,/ }; do
if [[ "${artifact}" == "open-sharing" ]]; then
echo "==> fetching open-sharing ..."
gcloud storage cp gs://databend-ci/${{ env.BUILD_PROFILE }}/${{ inputs.sha }}/${{ inputs.target }}/${{ inputs.category }}/open-sharing ${{ steps.info.outputs.path }}/open-sharing || true
chmod +x ${{ steps.info.outputs.path }}/open-sharing || true
else
echo "==> fetching databend-$artifact ..."
gcloud storage cp gs://databend-ci/${{ env.BUILD_PROFILE }}/${{ inputs.sha }}/${{ inputs.target }}/${{ inputs.category }}/databend-$artifact ${{ steps.info.outputs.path }}/databend-$artifact
chmod +x ${{ steps.info.outputs.path }}/databend-$artifact
fi
echo "==> fetching databend-$artifact ..."
gcloud storage cp gs://databend-ci/${{ env.BUILD_PROFILE }}/${{ inputs.sha }}/${{ inputs.target }}/${{ inputs.category }}/databend-$artifact ${{ steps.info.outputs.path }}/databend-$artifact
chmod +x ${{ steps.info.outputs.path }}/databend-$artifact
done

- name: Check Disk Space
Expand Down
5 changes: 4 additions & 1 deletion .github/actions/artifact_failure/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ runs:
docker logs "$line" > .databend/docker/"$line".log
done

touch nohup.out
cp nohup.out .databend/nohup.out

mkdir -p target
find -type d -name .databend -print0 | xargs -0 tar -zcf target/failure-${{ inputs.name }}.tar.gz
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ inputs.name }}
path: target/failure-${{ inputs.name }}.tar.gz
23 changes: 23 additions & 0 deletions .github/actions/artifact_meta_container_failure/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Upload meta containers failure Artifacts"
description: "Upload meta containers Artifacts"
inputs:
name:
description: ""
required: true
runs:
using: "composite"
steps:
- name: pack failure artifacts
shell: bash
run: |
mkdir -p logs
for name in "test-databend-meta-0" "test-databend-meta-1" "test-databend-meta-2" "databend-metaverifier"
do
echo "cat logs of $name"
kubectl exec -i $name -n databend -- /cat-logs.sh > logs/$name.log
done
tar -zcf logs/failure-${{ inputs.name }}.tar.gz logs/*
- uses: actions/upload-artifact@v4
with:
name: ${{ inputs.name }}
path: logs/failure-${{ inputs.name }}.tar.gz
21 changes: 10 additions & 11 deletions .github/actions/artifact_upload/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,32 +32,31 @@ runs:

- name: Upload artifact to github
if: env.RUNNER_PROVIDER == 'github'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.BUILD_PROFILE }}-${{ inputs.sha }}-${{ inputs.target }}-${{ inputs.category }}
path: ${{ steps.info.outputs.path }}/databend-*

- name: Upload open-sharing to github
if: env.RUNNER_PROVIDER == 'github' && inputs.category == 'default'
uses: actions/upload-artifact@v3
with:
name: ${{ env.BUILD_PROFILE }}-${{ inputs.sha }}-${{ inputs.target }}-${{ inputs.category }}
path: ${{ steps.info.outputs.path }}/open-sharing

- name: Upload artifacts to s3
if: env.RUNNER_PROVIDER == 'aws'
shell: bash
run: |
echo "### artifacts 🚀" >> $GITHUB_STEP_SUMMARY
aws s3 sync ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/ \
s3://databend-ci/${{ env.BUILD_PROFILE }}/${{ inputs.sha }}/${{ inputs.target }}/${{ inputs.category }}/ \
--exclude "*" --include "databend-*" --no-progress
aws s3 cp ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/open-sharing s3://databend-ci/${{ env.BUILD_PROFILE }}/${{ inputs.sha }}/${{ inputs.target }}/${{ inputs.category }}/ --no-progress || true
artifacts="meta,query,query.debug"
for artifact in ${artifacts//,/ }; do
if [[ -f ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-${artifact} ]]; then
url=$(aws s3 presign s3://databend-ci/${{ env.BUILD_PROFILE }}/${{ inputs.sha }}/${{ inputs.target }}/${{ inputs.category }}/databend-${artifact} --expires-in 21600)
echo "- [${artifact}](${url})" >> $GITHUB_STEP_SUMMARY
fi
done

- name: Upload artifact to gcs
if: env.RUNNER_PROVIDER == 'gcp'
shell: bash
run: |
gcloud config set storage/parallel_composite_upload_enabled False
gcloud storage cp --quiet --recursive ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/databend-* \
gs://databend-ci/${{ env.BUILD_PROFILE }}/${{ inputs.sha }}/${{ inputs.target }}/${{ inputs.category }}/
gcloud storage cp --quiet ./target/${{ inputs.target }}/${{ env.BUILD_PROFILE }}/open-sharing \
gs://databend-ci/${{ env.BUILD_PROFILE }}/${{ inputs.sha }}/${{ inputs.target }}/${{ inputs.category }}/ || true
22 changes: 19 additions & 3 deletions .github/actions/benchmark_cloud/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,30 @@ runs:
sudo apt-get update -yq
sudo apt-get install -yq python3

- name: Prepare
working-directory: benchmark/clickbench
shell: bash
id: prepare
env:
BENDSQL_DSN: "databend://${{ inputs.cloud_user }}:${{ inputs.cloud_password }}@${{ inputs.cloud_gateway }}:443"
run: |
if [[ "${{ inputs.dataset }}" == "load" ]]; then
echo "database=load_test_${{ inputs.run_id }}" >> $GITHUB_OUTPUT
echo "tries=1" >> $GITHUB_OUTPUT
else
echo "database=clickbench" >> $GITHUB_OUTPUT
echo "tries=3" >> $GITHUB_OUTPUT
fi

- name: Run Benchmark
working-directory: benchmark/clickbench
env:
BENCHMARK_ID: ${{ inputs.run_id }}
BENCHMARK_DATASET: ${{ inputs.dataset }}
BENCHMARK_SIZE: ${{ inputs.size }}
BENCHMARK_VERSION: ${{ inputs.version }}
BENCHMARK_DATABASE: clickbench
BENCHMARK_DATABASE: ${{ steps.prepare.outputs.database }}
BENCHMARK_TRIES: ${{ steps.prepare.outputs.tries }}
CLOUD_USER: ${{ inputs.cloud_user }}
CLOUD_PASSWORD: ${{ inputs.cloud_password }}
CLOUD_GATEWAY: ${{ inputs.cloud_gateway }}
Expand Down Expand Up @@ -76,9 +92,9 @@ runs:
mv result.json result-${{ inputs.dataset }}-cloud-${{ inputs.size }}.json

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: benchmark-${{ inputs.dataset }}
name: benchmark-${{ inputs.dataset }}-${{ inputs.size }}
path: benchmark/clickbench/result-${{ inputs.dataset }}-cloud-${{ inputs.size }}.json

- name: Remove warehouse
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/benchmark_local/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ runs:
mv result.json result-${{ inputs.dataset }}-local.json

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: benchmark-${{ inputs.dataset }}
name: benchmark-${{ inputs.dataset }}-local
path: benchmark/clickbench/result-${{ inputs.dataset }}-local.json
Loading
Loading