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

feat: dist plan optimize part 2 #2543

Merged
merged 6 commits into from
Oct 9, 2023

Conversation

waynexia
Copy link
Member

@waynexia waynexia commented Oct 8, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

  • categorise ScalarUDF and ScalarFunc as commutative since they only depend on one point each time
  • be able to handle count(*)
  • cherry-pick a bugfix about last_value/first_value

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

Signed-off-by: Ruihang Xia <[email protected]>
@waynexia waynexia enabled auto-merge October 8, 2023 13:03
@codecov
Copy link

codecov bot commented Oct 8, 2023

Codecov Report

Merging #2543 (2b84393) into develop (0593c3b) will decrease coverage by 0.35%.
Report is 3 commits behind head on develop.
The diff coverage is 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2543      +/-   ##
===========================================
- Coverage    85.33%   84.98%   -0.35%     
===========================================
  Files          734      734              
  Lines       117313   117344      +31     
===========================================
- Hits        100106    99729     -377     
- Misses       17207    17615     +408     

@waynexia waynexia added this pull request to the merge queue Oct 9, 2023
Copy link
Contributor

@killme2008 killme2008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Merged via the queue into GreptimeTeam:develop with commit d5e4fca Oct 9, 2023
13 checks passed
@waynexia waynexia deleted the opt-query-att-2 branch October 9, 2023 02:31
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
* allow udf and scalar fn

Signed-off-by: Ruihang Xia <[email protected]>

* put CountWildcardRule before dist planner

Signed-off-by: Ruihang Xia <[email protected]>

* bump datafusion to fix first_value/last_value

Signed-off-by: Ruihang Xia <[email protected]>

* update sqlness result

Signed-off-by: Ruihang Xia <[email protected]>

* use retain instead

Signed-off-by: Ruihang Xia <[email protected]>

---------

Signed-off-by: Ruihang Xia <[email protected]>
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.

3 participants