Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from datafuselabs:main #50

Open
wants to merge 621 commits into
base: main
Choose a base branch
from
Open

Conversation

pull[bot]
Copy link

@pull pull bot commented Sep 6, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

Copy link

github-actions bot commented Sep 6, 2024

At least one test kind must be checked in the PR description.
@pull[bot] please update it 🙏.

Copy link

github-actions bot commented Sep 6, 2024

This pull request's title is not fulfill the requirements. @pull[bot] please update it 🙏.

Valid format:

fix(query): fix group by string bug
  ^         ^---------------------^
  |         |
  |         +-> Summary in present tense.
  |
  +-------> Type: rfc, feat, fix, refactor, ci, docs, chore

Valid types:

  • rfc: this PR proposes a new RFC
  • feat: this PR introduces a new feature to the codebase
  • fix: this PR patches a bug in codebase
  • refactor: this PR changes the code base without new features or bugfix
  • ci: this PR changes build/testing/ci steps
  • docs: this PR changes the documents or websites
  • chore: this PR only has small changes that no need to record

Copy link

github-actions bot commented Sep 6, 2024

At least one type of change must be checked in the PR description.
@pull[bot] please update it 🙏.

Copy link

github-actions bot commented Sep 6, 2024

Pull request description must contain CLA like the following:

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

## Summary

Summary about this PR

- Close #issue

@pull pull bot added the ⤵️ pull label Sep 6, 2024
youngsofun and others added 25 commits November 28, 2024 20:50
* rm unused code.

* remove dup code

* feat: parquet support copy option `COLUMN_MATCH_MODE`
… processing. (#16948)

* opt mysql dictionary via batch processing

* update code

* add todo notes
* chore(planner): improve physical join

* chore(test): add sqllogictest

* chore(code): refine comments.

* chore(test): update sqllogictest

* chore(test):  test iceberg

* chore(test): test iceberg

* chore(planner): fix join type

* chore(test): update sqllogictest

* chore(test): update sqllogictest

---------

Co-authored-by: Bohu <[email protected]>
* working

* add ut

* format

* add http session catalog& add ut

* fix tests
* fix list_domain

Signed-off-by: coldWater <[email protected]>

* fix

Signed-off-by: coldWater <[email protected]>

---------

Signed-off-by: coldWater <[email protected]>
Co-authored-by: TCeason <[email protected]>
…16971)

* fix(query): keep remaining_predicates when filtering grouping sets

* update

* update

* update

* update

* Update 03_0003_select_group_by.test

* update

---------

Co-authored-by: TCeason <[email protected]>
…ll values (#16978)

* fix bug while mysql table contains null values

* remove option on key
* fix(sqlparser): fix order by followed by scalar

Signed-off-by: chagelo <[email protected]>

* fix

Signed-off-by: chagelo <[email protected]>

---------

Signed-off-by: chagelo <[email protected]>
* chore(query): improve decimal aggregate state

* update

* update

* update
* chore(code): rename merge join to range join

* chore(planner): refine physical join

* chore(test): add sqllogictest
* fix(query): group by item allow set returning functions

* fix
* refactor: use temp table to refactor materialized cte

* remove useless code

* specify database name

* find reason and add todo

* clear cache

* fix stream

* fix with consume

* temp table uses fuse engine if cluster mode

* fix

* update test

* remove materialized keyword for stream

* make temp table name unique

* clear temp table

* fix all tests

* remove useless code

* address some comments

* add basic table stats for memery table

* update test
feat(query): Support st_collect aggregate function
* chore(ci): use new dsn for create database

* chore(ci): use new dsn for create database

* chore(ci): use new dsn for create database

* chore(ci): use new dsn for create database

* chore(ci): use new dsn for create database
* fix: need_sticky field was incorrectly set to true.

* update cargo.lock
* chore(query): fix topk in native

* chore(query): fix topk in native
…connection_retry_interval` setting (#16856)

* feat(query): Support `query_max_failures` setting

* fix

* cluster do_action retry

* fix
sundy-li and others added 30 commits January 21, 2025 15:31
* fix(query): add check window frame

* fix(query): add values checker

* fix(query): add values checker

* fix(query): add values checker
enable sort spill in recluster

fix: hilbert clustering in cluster mode

fix quoted cluster key
* chore(query): improve udf server headers

* chore(query): improve udf server headers

* chore(query): improve udf server headers
* feat: Add disable_list_batch for webhdfs

Signed-off-by: Xuanwo <[email protected]>

* Fix test

Signed-off-by: Xuanwo <[email protected]>

---------

Signed-off-by: Xuanwo <[email protected]>
* feat: Add username support for webhdfs

Signed-off-by: Xuanwo <[email protected]>

* Fix test

Signed-off-by: Xuanwo <[email protected]>

---------

Signed-off-by: Xuanwo <[email protected]>
…er by columns or function argument columns (#17353)

fix
* try fix

:      Sat Jan 18 22:19:57 2025 +0800

* drop old procedure
* feat(ddl): Support add stored computed column

* fix

* fix tests

* add comments
refactor: rename components of `replace into`

Initially, `REPLACE INTO` was designed as a simplified implementation of `MERGE INTO`, with the expectation that it would gradually evolve into a full-fledged implementation of `MERGE INTO`, as a result, many `MERGE INTO` related terms exist in the components of `REPLACE INTO` impl.

However, `MERGE INTO` now has its own independent impl, the remaining `MERGE INTO` related terms in the impl of `REPLACE INTO` can be misleading.

Therefore, in this PR, we have renamed all `MERGE INTO` related terms in the implof `REPLACE INTO` to avoid confusion.
* ttc-go

* container log

* x

* fix
* feat: introduce BlockMetaCache

* tweak sys tbl `system.cache` and configs

* cargo fmt

* update ut gloden file

* fix: set cache cap of `memory_cache_block_meta`
desc procedure p1(int);
----
signature (x)
returns (Int32)
language SQL
body BEGIN RETURN x; END;
chore(ci): fix intergration  ttc-gc
remove unused codes

Co-authored-by: Jk Xu <[email protected]>
* update

* update

* chore(query): bump jiff crate

* chore(query): bump jiff crate

* chore(query): bump jiff crate

* chore(query): bump jiff crate

* chore(query): bump jiff crate

* chore(query): bump jiff crate

* chore(query): bump jiff crate

* chore(query): bump jiff crate

* support %c %X %x

* support %c %X %x
* feat(query): Virtual column support alias name

* fix

* fix machete

* add tests

* fix tests

* fix comments

* fix
timestamp_diff(TIMESTAMP, TIMESTAMP) -> INTERVAL
* chore(query): fix hash join hang

* chore(test): add sqllogictest
* feat(query): support extract EPOCH from timestamp

* use val directly

* add domain

* function rename to epoch
* chore(query): row fetch will be fetched by distinct block batch

* chore(query): row fetch will be fetched by distinct block batch

* chore(query): row fetch will be fetched by distinct block batch

* increase permit
* fix(query): fix lambda function bind column failed

* fix tests
* fix(query): interval type support cast to string

* fix domain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.