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

1.2.307 hotfix 20240624 #22

Open
wants to merge 21 commits into
base: 1.2.307-hotfix-20240614
Choose a base branch
from

Conversation

yufan022
Copy link
Owner

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

Summary

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):

zhang2014 and others added 21 commits June 18, 2024 21:44
* chore(executor): add unit for profile statistics

* chore(executor): add unit for profile statistics
* first commit

* little profile

* refactor probe_and_create

* improve agg_final

* inital

* merge main and refactor stringColumn

* clear ht and reset count

* refactor

* init capacity by threads

* fmt

* test

* update

* remove print

* fix check

---------

Co-authored-by: jw <[email protected]>
Co-authored-by: sundy-li <[email protected]>

(cherry picked from commit 2d81588)
…14523)

* fix(executor): fix some display name for profile plans

* fix(executor): fix some display name for profile plans

* fix(executor): fix some display name for profile plans

* fix(executor): fix some display name for profile plans

* fix(executor): fix some display name for profile plans

(cherry picked from commit e78d7f8)
…ashtable `. (databendlabs#14544)

* test-perf

* fix

* fix

* fix

* fix decimal

* fix decimal

* fix decimal

* revert settings

(cherry picked from commit 3340c38)
…atabendlabs#14681)

* chore: add graph information to prepare adding points

Signed-off-by: Liuqing Yue <[email protected]>

* fix: unit test

Signed-off-by: Liuqing Yue <[email protected]>

* chore: clean

Signed-off-by: Liuqing Yue <[email protected]>

---------

Signed-off-by: Liuqing Yue <[email protected]>
(cherry picked from commit 78d0de4)
… across queries (databendlabs#14770)

* refactor: split two executors and queues

* chore: add license

* fix: missing header

* refactor: apply review suggestions from last PR

* fix: remove unused function

---------

Co-authored-by: Winter Zhang <[email protected]>

(cherry picked from commit ff1dcbb)
… singleton and support new_agg_hashtable on cluster (databendlabs#14798)

* refactor new_agg_hashtable

* test

* test

* fmt

* test

* test

* test

* format explain

---------

Co-authored-by: jw <[email protected]>

(cherry picked from commit f04c367)
* test

* test

* finish singleton spill

* cluster spill

* Update src/query/service/src/pipelines/processors/transforms/aggregator/aggregate_meta.rs

Co-authored-by: Winter Zhang <[email protected]>

* add Result<> for func return type

* fix bug

* fix decimal bug

* remove output columns(AggregatePartial) to pass ci

* revert set

---------

Co-authored-by: jw <[email protected]>
Co-authored-by: Winter Zhang <[email protected]>

(cherry picked from commit 31e9ad0)
* chore: group limit optimizer in new hashtable

* chore: group limit optimizer in new hashtable

* chore: group limit optimizer in new hashtable

(cherry picked from commit c485db6)
* fix agg spill

* fix agg spill

---------

Co-authored-by: jw <[email protected]>
(cherry picked from commit 7171319)
* chore: improve group

* reduce serializer overhead

* reduce serializer overhead

* add limit optimize

* fix exchange bug

* fix exchange bug

* fix exchange bug

* fix exchange bug

* fix exchange bug

* update

* update

(cherry picked from commit bcee197)
…tion hashtable (databendlabs#15093)

* finish new transform partition bucket for singleton

* support for cluster

* fix new transform partition bucket

* revert

* fix cluster spill bug

* remove code

* fix logic shortcirt bug

* fix logic shortcirt bug

* refactor block_number

* fix block_number

* fix spill hang by avoid sending empty block

---------

Co-authored-by: jw <[email protected]>
Co-authored-by: sundy-li <[email protected]>

(cherry picked from commit f8494c8)
…abendlabs#15140)

* test

* fix single input on singleton

* add distinct combinator

* revert

* add sqllogical tests

---------

Co-authored-by: jw <[email protected]>
(cherry picked from commit e402065)
* fix hits-q18-perf

* turn on new agg hashtable

* rewrite sqllogical test

* fix sqllogical test

---------

Co-authored-by: jw <[email protected]>

(cherry picked from commit 7e9b835)
…15344)

* add err to capture new agg ht hang

* fix

* fix err info

---------

Co-authored-by: jw <[email protected]>
(cherry picked from commit f2a49de)
…ion count in new agg singleton (databendlabs#15418)

* fix new agg bucket error in singleton

* fix

---------

Co-authored-by: jw <[email protected]>
(cherry picked from commit 4e2227c)
* fix(query): decimal div overflow

* fix(query): decimal div overflow

* fix(query): decimal div overflow

(cherry picked from commit b256d3d)
* fix(query): privilege type forward compat

1. add ci test forward compat test(now only test rbac)
2. UserPrivilegeType and ShareGrantObjectPrivilege deserialize use from_bits_truncate

* run_test contain forward and backward
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants