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

Upgrade to sqlparser 0.21 #3200

Merged
merged 5 commits into from
Aug 19, 2022
Merged

Upgrade to sqlparser 0.21 #3200

merged 5 commits into from
Aug 19, 2022

Conversation

andygrove
Copy link
Member

@andygrove andygrove commented Aug 18, 2022

Which issue does this PR close?

Closes #3192
Closes #3205

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@github-actions github-actions bot added core Core DataFusion crate logical-expr Logical plan and expressions sql SQL Planner labels Aug 18, 2022
@github-actions github-actions bot added the physical-expr Physical Expressions label Aug 18, 2022
* Update sqlparser version to use main from git

* Update SqlExpr::Trim struct to match latest sqlparser changes
@codecov-commenter
Copy link

codecov-commenter commented Aug 19, 2022

Codecov Report

Merging #3200 (7752aa2) into master (929eb6d) will decrease coverage by 0.02%.
The diff coverage is 57.69%.

@@            Coverage Diff             @@
##           master    #3200      +/-   ##
==========================================
- Coverage   85.87%   85.85%   -0.03%     
==========================================
  Files         291      291              
  Lines       52885    52905      +20     
==========================================
+ Hits        45415    45419       +4     
- Misses       7470     7486      +16     
Impacted Files Coverage Δ
datafusion/expr/src/expr_fn.rs 91.01% <ø> (ø)
datafusion/proto/src/from_proto.rs 35.27% <0.00%> (ø)
datafusion/proto/src/to_proto.rs 52.84% <0.00%> (ø)
datafusion/sql/src/planner.rs 80.63% <54.54%> (-0.62%) ⬇️
datafusion/core/tests/sql/functions.rs 100.00% <100.00%> (ø)
datafusion/expr/src/built_in_function.rs 100.00% <100.00%> (ø)
datafusion/expr/src/function.rs 97.75% <100.00%> (ø)
datafusion/physical-expr/src/functions.rs 92.75% <100.00%> (ø)
datafusion/expr/src/logical_plan/plan.rs 77.95% <0.00%> (+0.17%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@andygrove andygrove changed the title [WIP] Upgrade to sqlparser 0.21 Upgrade to sqlparser 0.21 Aug 19, 2022
@andygrove andygrove marked this pull request as ready for review August 19, 2022 11:24
@andygrove
Copy link
Member Author

@alamb This is finally ready for merging 😓

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

LGTM

@alamb
Copy link
Contributor

alamb commented Aug 19, 2022

Thanks @andygrove @ayushdg !

@alamb alamb merged commit 3c911ff into master Aug 19, 2022
@alamb alamb deleted the sqlparser-0.21 branch August 19, 2022 13:10
@ursabot
Copy link

ursabot commented Aug 19, 2022

Benchmark runs are scheduled for baseline = 929eb6d and contender = 3c911ff. 3c911ff is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ec2-t3-xlarge-us-east-2] ec2-t3-xlarge-us-east-2
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on test-mac-arm] test-mac-arm
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ursa-i9-9960x] ursa-i9-9960x
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ursa-thinkcentre-m75q] ursa-thinkcentre-m75q
Buildkite builds:
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

@andygrove andygrove added the api change Changes the API exposed to users of the crate label Sep 2, 2022
MazterQyou pushed a commit to cube-js/arrow-datafusion that referenced this pull request Dec 1, 2022
* Changes to planning for SHOW TABLES due to changes in sqlparser (apache#3193)

* Update planning for LIKE due to changes in sqlparser (apache#3194)

* rename array function to make_array (apache#3199)

* [sqlparser-0.21] Update trimExpr members during planning (apache#3181)

* Update sqlparser version to use main from git

* Update SqlExpr::Trim struct to match latest sqlparser changes

* use sqlparser 0.21 (apache#3202)

Co-authored-by: Ayush Dattagupta <[email protected]>
MazterQyou pushed a commit to cube-js/arrow-datafusion that referenced this pull request Dec 1, 2022
* Changes to planning for SHOW TABLES due to changes in sqlparser (apache#3193)

* Update planning for LIKE due to changes in sqlparser (apache#3194)

* rename array function to make_array (apache#3199)

* [sqlparser-0.21] Update trimExpr members during planning (apache#3181)

* Update sqlparser version to use main from git

* Update SqlExpr::Trim struct to match latest sqlparser changes

* use sqlparser 0.21 (apache#3202)

Co-authored-by: Ayush Dattagupta <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api change Changes the API exposed to users of the crate core Core DataFusion crate logical-expr Logical plan and expressions physical-expr Physical Expressions sql SQL Planner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sqlparser 0.21 upgrade
5 participants