Skip to content

[sqlparser-0.21] Update planning of LIKE expressions - #3194

Merged
andygrove merged 1 commit into
apache:sqlparser-0.21from
andygrove:sqlparser-like-changes
Aug 18, 2022
Merged

[sqlparser-0.21] Update planning of LIKE expressions#3194
andygrove merged 1 commit into
apache:sqlparser-0.21from
andygrove:sqlparser-like-changes

Conversation

@andygrove

@andygroveandygrove commented Aug 18, 2022

Copy link
Copy Markdown
Member

Which issue does this PR close?

Part of #3192

Rationale for this change

Keeping up with changes in sqlparser

What changes are included in this PR?

  • Like is now a top-level expression
  • Ignored a failing test that we cannot fix until we upgrade to a newer version of sqlparser

Are there any user-facing changes?

No

@github-actionsgithub-actionsBot added core Core DataFusion crate logical-expr Logical plan and expressions sql SQL Planner labels Aug 18, 2022
@andygroveandygrove changed the title Sqlparser like changesUpdate planning of LIKE expressions due to changes in sqlparserAug 18, 2022
@andygroveandygrove mentioned this pull request Aug 18, 2022
5 tasks
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Merging #3194 (97c486c) into sqlparser-0.21 (929eb6d) will decrease coverage by 0.03%.
The diff coverage is 51.35%.

❗ Current head 97c486c differs from pull request most recent head 5f4d736. Consider uploading reports for the commit 5f4d736 to get more accurate results

@@ Coverage Diff @@## sqlparser-0.21 #3194 +/- ##
==================================================
- Coverage 85.87% 85.84% -0.04% 
==================================================
Files 291 291 Lines 52885 52898 +13 ==================================================
- Hits 45415 45410 -5 - Misses 7470 7488 +18 
Impacted FilesCoverage Δ
datafusion/core/tests/sql/expr.rs99.84% <ø> (-0.01%)⬇️
datafusion/sql/src/planner.rs80.75% <51.35%> (-0.50%)⬇️
datafusion/core/src/physical_plan/metrics/value.rs86.93% <0.00%> (-0.51%)⬇️
datafusion/expr/src/logical_plan/plan.rs77.60% <0.00%> (-0.18%)⬇️
datafusion/physical-expr/src/expressions/binary.rs97.59% <0.00%> (-0.13%)⬇️

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

@andygroveandygrove changed the title Update planning of LIKE expressions due to changes in sqlparser[sqlparser-0.21] Update planning of LIKE expressionsAug 18, 2022
@alamb

Copy link
Copy Markdown
Contributor

I think this one needs to be rebased

@andygrove
andygroveforce-pushed the sqlparser-like-changes branch from 5f4d736 to 49900e4CompareAugust 18, 2022 19:09
@andygrove

Copy link
Copy Markdown
MemberAuthor

@alamb This is now rebased

@andygrove
andygrove merged commit 578ea1a into apache:sqlparser-0.21Aug 18, 2022
@andygrove
andygrove deleted the sqlparser-like-changes branch August 18, 2022 19:58
alamb pushed a commit that referenced this pull request Aug 19, 2022
* Changes to planning for SHOW TABLES due to changes in sqlparser (#3193)
* Update planning for LIKE due to changes in sqlparser (#3194)
* rename array function to make_array (#3199)
* [sqlparser-0.21] Update trimExpr members during planning (#3181)
* Update sqlparser version to use main from git
* Update SqlExpr::Trim struct to match latest sqlparser changes
* use sqlparser 0.21 (#3202)
Co-authored-by: Ayush Dattagupta <ayushdg95@gmail.com>
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 <ayushdg95@gmail.com>
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 <ayushdg95@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

coreCore DataFusion cratelogical-exprLogical plan and expressionssqlSQL Planner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@andygrove@codecov-commenter@alamb