Repository navigation
Releases
Releases · databendlabs/databend
v1.2.972-nightly
What's Changed
Exciting New Features ✨
- feat(query): add a neutral streaming load placeholder by @youngsofun in #21230
- feat(query): answer ORDER BY ... LIMIT queries from top-N materialized views by @sundy-li in #21248
- feat(query): read only string lengths for empty-string filters, group dictionaries by code, cache TopN boundaries by @sundy-li in #21206
- feat(query): write recluster merge outputs in parallel by @zhang2014 in #21269
- feat(query): add TIMESTAMP_NTZ type behind enable_timestamp_ntz by @sundy-li in #21221
- feat(query): expose procedure bodies in system.procedures by @TCeason in #21242
- feat(query): Add
to_jsonfunction,parse_jsonandtry_parse_jsonsupport parameter allow duplicate object keys by @b41sh in #21276 - feat(query): simplify outer joins top-down before filter pull-up by @forsaken628 in #21218
- feat(query): capture lineage for nested statements and table clones by @youngsofun in #21278
Thoughtful Bug Fix 🔧
- refactor(query): keep runtime filters when the hash join build side spills by @dqhl76 in #21139
- fix(query): restore branch-free runtime bloom check on aarch64 by @dqhl76 in #21271
- fix(query): list only visible sessions in system.processes by @TCeason in #21247
- fix(query): avoid dropping final exchange blocks on close race by @dqhl76 in #21288
- fix(query): pin partition keys to the session time zone by @KKould in #21212
Code Refactor 🎉
- refactor(query): remove Flight SQL and HTTP auth tokens by @youngsofun in #21268
- refactor(query): avoid redundant expression tree copies by @KKould in #21279
- refactor(query): feed lazy prune segments synchronously by @dqhl76 in #21287
- refactor(query): mark materialized views invalid outside source DDL transactions by @b41sh in #21196
Build/Testing/CI Infra Changes 🔌
- ci: build Dev CI binaries without ThinLTO by @bohutang in #21270
- ci(query): test VARIANT timestamp text up to 9999-12-31 by @TCeason in #21275
- ci: speed up release builds and post-release benchmarks by @bohutang in #21277
Others 📒
- chore(query): bump jsonb 0.6.0 by @b41sh in #20924
- chore(query): truncate large expression value error display by @b41sh in #21272
Full Changelog: v1.2.971-nightly...v1.2.972-nightly
v1.2.971-nightly
What's Changed
Exciting New Features ✨
- feat(query): read FTS and vector TopN candidates from covering index matches by @bohutang in #21185
- feat(http): bind query follow-ups to the submission credential by @youngsofun in #21122
- feat(query): support COPY INTO ... SORTED_BY_CLUSTER_KEY = TRUE by @youngsofun in #21039
- feat(storage): partial column update(bloom pruning) by @SkyFan2002 in #21137
- feat(query): keep Parquet dictionaries of virtual columns in encoded scans by @b41sh in #21233
- feat(query): reduce per-query thread overhead of pruning by @bohutang in #21254
- feat(query): reuse idle legacy pipeline workers by @bohutang in #21256
Thoughtful Bug Fix 🔧
- fix(storage): batch blocks per RECLUSTER sort task by @zhyass in #21142
- fix: meta: cap DML retry markers per commit by @drmingdrmer in #21187
- fix(query): separate transaction and table mutation error codes by @youngsofun in #21222
- fix: task: fail abandoned runs instead of skipping every later run by @drmingdrmer in #21209
- fix: query: validate result cache key in RESULT_SCAN by @drmingdrmer in #21223
- fix(query): reject script names in subqueries that changed meaning by @zhang2014 in #21219
- fix(query): fix materialized CTE hangs on channels nobody reads by @dqhl76 in #21227
- fix(query): use one conversion plan for CAST and TRY_CAST by @forsaken628 in #21203
- fix: query: update the matching entry in update_query_ids_results by @drmingdrmer in #21239
- fix(storage): allow longer finite Fuse string upper bounds by @youngsofun in #21143
- fix: query: read the RESULT_SCAN cache key of HTTP sessions from meta by @drmingdrmer in #21241
- fix: task: keep the schedule of a task recreated after a drop by @drmingdrmer in #21251
- fix: settings: accept queries_queue_retry_timeout values above 1 by @drmingdrmer in #21252
- fix(query): advance the aggregate cursor past the end of a page by @bohutang in #21260
- refactor(query): unify enable_selector_executor in FilterExecutor by @sundy-li in #21234
Code Refactor 🎉
- refactor(query): compare string views by length and prefix first by @sundy-li in #21208
- refactor(query): remove the unused tenant_quota table function by @bohutang in #21214
- refactor(query): compare strings by view in TopK and rank limit sort by @sundy-li in #21210
- refactor(storage): build the Parquet read schema once per block reader by @KKould in #21183
- refactor(query): simplify SQ8 quantile sampling and drop feistel-permutation-rs by @b41sh in #21229
- refactor(query): retire the global queries executor by @bohutang in #21263
Build/Testing/CI Infra Changes 🔌
- ci: task: test a scheduled task across a meta leader restart by @drmingdrmer in #21198
- ci(benchmark): move ClickBench hits from cloud to local fs benchmark by @dqhl76 in #21237
Documentation 📔
- docs: add harden review to the pull request template by @bohutang in #21262
- docs: keep Harden instructions visible in pull requests by @bohutang in #21265
- docs: separate Harden review results from reviewer models by @bohutang in #21266
Full Changelog: v1.2.970-nightly...v1.2.971-nightly
v1.2.970-nightly
What's Changed
Exciting New Features ✨
- feat(storage): skip blocks and filter evaluation with a cache of prewhere results by @sundy-li in #21182
- feat(query): speed up encoded scans without the column cache by @sundy-li in #21159
Thoughtful Bug Fix 🔧
- fix(meta): reject deduplication markers without durable updates by @drmingdrmer in #21179
- fix(storage): support rotating OSS table credentials by @zhang2014 in #21147
- fix: semaphore: wait before retrying a failed acquisition by @drmingdrmer in #21181
- fix(query): decode oversized Fuse blocks in max_block_size batches by @dqhl76 in #21180
- fix(query): allow DISTINCT aggregate ORDER BY on its own argument by @zhang2014 in #21202
Code Refactor 🎉
- refactor(storage): decode prewhere columns only for rows that pass filter-only columns by @sundy-li in #21171
Build/Testing/CI Infra Changes 🔌
Others 📒
- chore: deps: bump databend-meta to v260629.12.0 by @drmingdrmer in #21189
Full Changelog: v1.2.969-nightly...v1.2.970-nightly
v1.2.969-nightly
What's Changed
Exciting New Features ✨
Thoughtful Bug Fix 🔧
- fix(query): restrict native filters in jq function by @sundy-li in #21170
- fix(meta): scope DML deduplication labels to tenants by @drmingdrmer in #21175
- fix(query): tighten stage location checks by @sundy-li in #21172
- fix: locks: keep waiting when a table lock watch is refused by @drmingdrmer in #21177
- fix(storage): validate external location options by @bohutang in #21173
Full Changelog: v1.2.968-nightly...v1.2.969-nightly
v1.2.968-nightly
What's Changed
Exciting New Features ✨
- feat(cache): size the disk cache from its disk when max_bytes is unset by @bohutang in #21160
- feat(storage): cache inverted index searcher and term info for FTS by @bohutang in #21151
Thoughtful Bug Fix 🔧
- fix(query): read spilled byte columns with the writer's arrow types by @dqhl76 in #21053
- fix(query): prevent buffer overruns in serialized hash keys by @dantengsky in #20972
- fix(query): reject out-of-range to_decimal parameters by @forsaken628 in #21128
- fix: meta: move the cache off a leader that refuses its watch by @drmingdrmer in #21136
- fix(storage): skip reversed ranges in clustering diagnostics by @zhyass in #21131
- fix(query): probe the partition built in each hash join spill round by @dqhl76 in #21141
- fix: task: watch the task messages again when the stream ends by @drmingdrmer in #21157
- fix: task: keep a schedule running when one of its ticks fails by @drmingdrmer in #21158
- fix(query): bind grouped SELECTs after their keys are known by @forsaken628 in #20780
- fix: planner: keep cached distributed and local plans apart by @drmingdrmer in #21162
Code Refactor 🎉
- refactor(base): remove unused ELF symbol index by @KKould in #21129
- refactor(query): drop duplicate meta reads when planning a SELECT by @bohutang in #21145
- refactor(query): output in-memory final aggregate results a block at a time by @KKould in #21144
- refactor(query): speed up string filters and reduce Parquet scan memory by @KKould in #21138
Others 📒
- chore(storage): assert the recluster block-size invariant instead of an exact layout by @sundy-li in #21080
- chore(meta): use server v260629.11.0 and client v260205.13.7 by @drmingdrmer in #21146
Full Changelog: v1.2.967-nightly...v1.2.968-nightly
v1.2.967-nightly
What's Changed
Exciting New Features ✨
- feat(query): speed up HNSW search with prefetch and dot-product SIMD kernels by @b41sh in #20939
- feat(query): keep vector index HNSW and full FP16 reads in disk cache by @bohutang in #21026
- feat(query): speed up HNSW index builds with SIMD distance kernels and cached link heuristics by @b41sh in #21018
- feat(query): enable cascading grouping sets by default by @sundy-li in #20925
- feat(query): prune rank-limit aggregation by a first-key boundary by @dqhl76 in #21014
- feat(query): stream materialized view refresh aggregation instead of spilling by @sundy-li in #21063
- feat(query): reduce per-query overhead of vector search by @bohutang in #21059
- feat(storage): partial column update(add metadata) by @SkyFan2002 in #21037
- feat(query): support native charset conversion for binary strings by @sundy-li in #21087
- feat(query): enable the memory limit and the shared cache by default by @bohutang in #21091
- feat(http): add query-scoped authentication tokens by @youngsofun in #21051
- feat: improve recluster task selection by @KKould in #20310
- feat(query): support SHOW CREATE CONNECTION by @youngsofun in #21031
- feat(query): kill own queries by query or session id by @youngsofun in #21058
- feat(query): serve users, global settings and cluster nodes from meta-service watches by @drmingdrmer in #21110
- feat(storage): partial column update(read path) by @SkyFan2002 in #21098
- feat: config: add
ownershiptocache.meta_service_cachesby @drmingdrmer in #21124 - feat(query): speed up top COUNT(*) GROUP BY queries by aggregating only heavy hitter keys by @sundy-li in #21077
- feat(query): improve bloom runtime filter selection and sampling by @dantengsky in #20847
Thoughtful Bug Fix 🔧
- fix(query): fix performance regression in planner cache by @SkyFan2002 in #20887
- fix(query): prevent stack overflow when binding deep joins by @KKould in #21029
- fix(query): defer transaction maintenance until after commit by @zhyass in #21020
- fix(query): stop series generation on Int64 overflow by @KKould in #21028
- fix(query): reuse the bound _row_id for lazy materialization by @b41sh in #20986
- fix(query): handle empty range join partitions by @KKould in #21024
- fix(query): restore microsecond precision in timestamp formatting by @TCeason in #21008
- fix(query): keep constant LIKE rewrite consistent with escape semantics by @sundy-li in #21044
- fix(query): exclude NULL range keys from IEJoin by @KKould in #21045
- fix(query): reject MVs on tables with row access or masking policies by @TCeason in #21047
- fix(query): avoid regexp_extract panic on invalid patterns by @KKould in #21046
- fix(query): reject cyclic named window references by @KKould in #21049
- fix(storage): serve cached bloom filters without loading index meta by @SkyFan2002 in #20877
- fix(query): guard expression parsing against stack exhaustion by @KKould in #21048
- fix(query): preserve result page order after polling timeout by @forsaken628 in #21019
- fix(query): preserve timezone offsets across equality key paths by @dantengsky in #20974
- fix(query): round fractional interval quantities to whole units by @TCeason in #21012
- fix(storage): cut recluster output at the table block thresholds by @zhang2014 in #21052
- fix(query): break rank limit ties by the remaining group keys by @zhang2014 in #21060
- fix(storage): stop pinning HTTP read buffers in merge IO by @dqhl76 in #21034
- fix: meta: validate final gRPC status before completing reads by @drmingdrmer in #21064
- fix(query): preserve known query kinds before planning failures by @TCeason in #21061
- fix(query): keep the shared executor alive on processor panics by @bohutang in #21065
- fix(query): remove vector bundle component size cap by @bohutang in #21071
- fix(http): verify query owner on kill/final/state endpoints by @youngsofun in #21067
- fix(sqllogictest): stop the runner from panicking on a multi-byte comment by @sundy-li in #21074
- fix(query): preserve non-broadcast mark join inputs by @dantengsky in #20978
- fix(query): keep multi-table insert distributed when the source needs reorder by @zhang2014 in #21083
- fix(query): fix virtual column binding by @b41sh in #21079
- fix(storage): scope fault injection rules to the installing fixture's prefix by @sundy-li in #21075
- fix(storage): stop vector RECLUSTER FINAL from rewriting clustered blocks every round by @b41sh in #21054
- fix(query): truncate REPLACE statements in query logs by @TCeason in #21092
- fix(iceberg): stop Iceberg DDL/DML from silently doing nothing by @sundy-li in #21073
- fix(query): link cosine HNSW graphs with normalized vectors by @bohutang in #21093
- fix(query): prefer proven-empty outer join build side by @dantengsky in #20936
- fix(meta): decode BLOOM table index type; default cache.data_max_ratio to 0 by @zhang2014 in #21099
- fix(query): bind a CTE body in its definition's scope by @sundy-li in #21076
- fix(query): hash equal bitmap, geometry and interval values consistently by @dantengsky in #20971
- fix(query): correct HNSW graph construction and SQ8 scoring in vector indexes by @b41sh in #21097
- fix(storage): bound fuse_page Thrift decoding and drop thrift dep by @sundy-li in #21104
- fix(query): finish queries correctly on the queries executor by @bohutang in #21111
- refactor(query): treat provider NDV as an estimate with an upper cap by @forsaken628 in #20900
- fix(query): check Decimal64 sum and avg overflow by @KKould in #21114
- fix(query): prevent scalar range integer overflow by @KKould in #21115
- fix(query): abbreviate large SQL constants in INFO logs by @bohutang in #21118
- fix(query): decouple grace join partition bits from hash table buckets by @dqhl76 in #21113
- fix(query): stream all-pairs joins with bounded memory by @forsaken628 in #20966
- fix(query): enforce stage WRITE on HTTP uploads by @youngsofun in #21126
- fix(query): batch small blocks before the window partition exchange by @dqhl76 in #21112
- fix(query): preserve RBAC upgrade compatibility and audit access by @TCeason in #21132
- fix: report table-meta-inspector failures by @dantengsky in #21127
Code Refactor 🎉
- refactor(storage): tighten truncated string max bounds by @dantengsky in #20659
- refactor(query): remove leftover experimental table branch support by @zhyass in #20992
- refactor(query): skip whole words of a row selection bitmap when reading selected rows by @bohutang in #21042
- refactor(storage): use selector executor in prewhere by @SkyFan2002 in #20880
*...
v1.2.960-nightly
What's Changed
Thoughtful Bug Fix 🔧
- fix(query): materialize outer input where correlated aliases are invalid by @SkyFan2002 in #20892
Code Refactor 🎉
- refactor(query): select if branches by mask word for all types by @SkyFan2002 in #20904
- refactor(query): avoid optimizer trace overhead when tracing is off by @SkyFan2002 in #20878
- refactor(query): bypass ineffective rank-limit pre-sort in partial aggregate by @SkyFan2002 in #20879
- refactor(cache): kind-based cache store; migrate all caches by @bohutang in #20899
Full Changelog: v1.2.959-nightly...v1.2.960-nightly
v1.2.959-nightly
What's Changed
Thoughtful Bug Fix 🔧
- fix(query): exact float-to-decimal casts and decimal quantile_cont by @forsaken628 in #20897
- fix(query): decode each segment once in row fetch by @b41sh in #20894
- fix(parser): avoid reparsing trailing function arguments by @KKould in #20912
Build/Testing/CI Infra Changes 🔌
Others 📒
Full Changelog: v1.2.958-nightly...v1.2.959-nightly
v1.2.958-nightly
What's Changed
Exciting New Features ✨
- feat(query): evaluate functions, grouping and aggregates on encoded dictionaries by @KKould in #20873
Thoughtful Bug Fix 🔧
- fix(query): block runtime filters across row-sensitive probe paths by @dantengsky in #20805
- fix(query): dedup in-flight cascades group tasks by @SkyFan2002 in #20883
- fix(query): keep hash shuffle sender running after its output finishes by @dqhl76 in #20893
Code Refactor 🎉
- refactor(query): optimize numeric if branch selection by @SkyFan2002 in #20881
Full Changelog: v1.2.957-nightly...v1.2.958-nightly
v1.2.957-nightly
What's Changed
Exciting New Features ✨
- feat(query): sandbox Python UDF workers and bound script UDF resources by @sundy-li in #20830
- feat(query): Vector Index support refine by @b41sh in #20832
- feat(query): fold runtime bloom filters to target fpp after build by @SkyFan2002 in #20869
Thoughtful Bug Fix 🔧
- fix(query): make prune cache key exact for floats and session settings by @SkyFan2002 in #20845
- fix(query): resolve qualified names as tables, not CTEs by @TCeason in #20695
- fix(storage): decode escaped custom TEXT delimiters by @youngsofun in #20844
- fix(query): restrict identity visibility and redact credentials by @TCeason in #20833
- fix(storage): report tolerated errors for ON_ERROR=ABORT_N by @youngsofun in #20849
- fix(query): parse non-integer text into int columns exactly by @youngsofun in #20851
- fix(query): make decimal arithmetic, casts and rounding exact by @forsaken628 in #20848
- fix(query): avoid nested nullable column in TRY_CAST(variant AS decimal) by @bohutang in #20861
- fix(query): preserve year-one timestamp boundaries and text round trips by @TCeason in #20853
- fix(formats): ignore input escape when quoting CSV output by @youngsofun in #20863
- fix(query): retain only exact NDV bounds after estimation by @dantengsky in #20798
- fix(query): reject spilling blocks without columns by @dqhl76 in #20855
- fix(query): own next-level hash join spill states by their parent level by @dqhl76 in #20857
- fix(query): bound hash shuffle memory independent of cluster size by @dqhl76 in #20778
Build/Testing/CI Infra Changes 🔌
- ci: strengthen session header HTTP tests by @youngsofun in #20858
- ci(fuse): test partition-key moves by mutation and ALTER PARTITION BY by @bohutang in #20866
Documentation 📔
- docs: meta: update compatibility tables through 1.2.956 by @drmingdrmer in #20852
Others 📒
- chore(deps): bump tokio from 1.52.3 to 1.54.1 by @dqhl76 in #20875
- chore(settings): disable enable_recluster_multiway_merge by default by @zhang2014 in #20882
Full Changelog: v1.2.956-nightly...v1.2.957-nightly