Skip to content

Upgrade DataFusion to 40.0.0 #681

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

Merged
merged 3 commits into from
Jul 18, 2024

Conversation

goldmedal
Copy link
Contributor

Description

  • Update the API usage.
  • Fix the test case.

@@ -313,9 +310,9 @@ mod test {
"select orderkey + orderkey from test.test.orders",
"select orderkey from test.test.orders where orders.totalprice > 10",
"select orders.orderkey from test.test.orders left join test.test.customer on (orders.custkey = customer.custkey) where orders.totalprice > 10",
"select orderkey, sum(totalprice) from test.test.orders group by 1",
"select orderkey, min(totalprice) from test.test.orders group by 1",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The sum function is moved to datafusion-function-aggregate after 40.0.0. The aggregate function crate won't be registered for the custom context provider by default. We should use SessionContext in

pub fn create_wren_calculated_field_expr(

I will do it in another PR.

@goldmedal goldmedal marked this pull request as ready for review July 18, 2024 09:25
@goldmedal goldmedal requested a review from grieve54706 July 18, 2024 09:25
Copy link
Contributor

@grieve54706 grieve54706 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @goldmedal.

@grieve54706 grieve54706 merged commit a1ef10c into Canner:main Jul 18, 2024
10 checks passed
@goldmedal goldmedal deleted the chore/upgrade-datafusino-40 branch July 19, 2024 14:54
grieve54706 pushed a commit that referenced this pull request Dec 13, 2024
* upgrade to 40.0.0 and fix the api

* fix the test cases

* update lock
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.

2 participants