Skip to content

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Nov 15, 2022

Which issue does this PR close?

Closes #4201

Rationale for this change

Keep up with dependencies

What changes are included in this PR?

Take @dependabot changes in #4201 and fix up the code for the changes

Update sqlparser requirement from 0.26 to 0.27

Changelog

Sourced from sqlparser's changelog.

[0.27.0] 2022-11-11

Added

Changed

Fixed

[0.26.0] 2022-10-19

Added

  • Support MySQL table option {INDEX | KEY} in CREATE TABLE definiton (#665) - Thanks @​AugustoFKL
  • Support CREATE [ { TEMPORARY | TEMP } ] SEQUENCE [ IF NOT EXISTS ] <sequence_name> (#678) - Thanks @​sam-mmm
  • Support DROP SEQUENCE statement (#673) - Thanks @​sam-mmm
  • Support for ANSI types CHARACTER LARGE OBJECT[(p)] and CHAR LARGE OBJECT[(p)] (#671) - Thanks @​AugustoFKL
  • Support [CACHE|UNCACHE] TABLE (#670) - Thanks @​francis-du
  • Support CEIL(expr TO DateTimeField) and FLOOR(expr TO DateTimeField) - Thanks @​sarahyurick
  • Support all ansii character string types, (#648) - Thanks @​AugustoFKL

Changed

[0.25.0] 2022-10-03

Added

... (truncated)

Commits
  • 0d91662 (cargo-release) version 0.27.0
  • 6a84710 Update CHANGELOG for 0.27.0 release (#706)
  • 814367a Implement ON CONFLICT and RETURNING (#666)
  • ae1c690 Fix broken DataFusion link (#703)
  • 65c5a37 feat: add precision for TIME, DATETIME, and TIMESTAMP data types (#701)
  • cdf4447 feat: add FULLTEXT option on create table for MySQL and Generic dialects (#702)
  • 87b4a16 Parse ARRAY_AGG for Bigquery and Snowflake (#662)
  • 0428ac7 Add MySql, BigQuery to all dialects (#697)
  • f7817bc Support DISTINCT for SetOperator (#689)
  • 0f7e144 Support the ARRAY type of Snowflake (#699)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


dependabot bot and others added 3 commits November 14, 2022 08:11
Updates the requirements on [sqlparser](https://github.com/sqlparser-rs/sqlparser-rs) to permit the latest version.
- [Release notes](https://github.com/sqlparser-rs/sqlparser-rs/releases)
- [Changelog](https://github.com/sqlparser-rs/sqlparser-rs/blob/main/CHANGELOG.md)
- [Commits](apache/datafusion-sqlparser-rs@v0.26.0...v0.27.0)

---
updated-dependencies:
- dependency-name: sqlparser
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@github-actions github-actions bot added core Core DataFusion crate logical-expr Logical plan and expressions sql SQL Planner labels Nov 15, 2022
@alamb alamb marked this pull request as draft November 15, 2022 22:30
@alamb
Copy link
Contributor Author

alamb commented Nov 15, 2022

This PR is not quite ready -- I need to fix up changes related to apache/datafusion-sqlparser-rs#662 -- but ran out of time todya


let results = plan_and_collect(
&ctx,
"SELECT array_agg(c13 ORDER BY c1) FROM aggregate_test_100",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is newly added syntax support in apache/datafusion-sqlparser-rs#662

within_group,
} = array_agg;

if let Some(order_by) = order_by {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

all,
set_quantifier,
} => {
let all = match set_quantifier {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

sqlparser now distinguishes between ALL , DISTINCT and not specified (previously, not specified left all=false)

@alamb alamb marked this pull request as ready for review November 17, 2022 14:21
@alamb alamb merged commit a0581dc into apache:master Nov 17, 2022
@alamb alamb deleted the alamb/update_sql_parser branch November 17, 2022 15:16
@ursabot
Copy link

ursabot commented Nov 17, 2022

Benchmark runs are scheduled for baseline = 929a175 and contender = a0581dc. a0581dc 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate logical-expr Logical plan and expressions sql SQL Planner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants