Skip to content

Conversation

@andygrove
Copy link
Contributor

@andygrove andygrove commented Aug 8, 2022

Upgrade to the latest version of DataFusion and Arrow.

Changes:

  • DataTypes::Decimal was renamed to Decimal128 and Decimal256 was added, and these are now both supported here

use core::iter::Peekable;
use core::str::Chars;
use sqlparser::dialect::Dialect;
use datafusion_sql::sqlparser::dialect::Dialect;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can use the version of sqlparser re-exported by DataFusion rather than manage this dependency ourselves

Copy link
Collaborator

Choose a reason for hiding this comment

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

Great!

Copy link
Collaborator

@jdye64 jdye64 left a comment

Choose a reason for hiding this comment

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

Thanks for the version bump Andy!

@codecov-commenter
Copy link

codecov-commenter commented Aug 8, 2022

Codecov Report

❗ No coverage uploaded for pull request base (datafusion-sql-planner@5afb461). Click here to learn what that means.
The diff coverage is n/a.

@@                    Coverage Diff                    @@
##             datafusion-sql-planner     #667   +/-   ##
=========================================================
  Coverage                          ?   66.97%           
=========================================================
  Files                             ?       73           
  Lines                             ?     3637           
  Branches                          ?      753           
=========================================================
  Hits                              ?     2436           
  Misses                            ?     1055           
  Partials                          ?      146           

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

@jdye64
Copy link
Collaborator

jdye64 commented Aug 8, 2022

@andygrove we had some upstream CI issues. Could you merge that latest upstream/datafusion-sql-planner and push again? I think that should sort out the CI build

@andygrove andygrove changed the title use datafusion 85d53634c4d26a3b9e545878e377860c14d01d7d use datafusion 9956f80f197550051db7debae15d5c706afc22a3 Aug 11, 2022
@andygrove
Copy link
Contributor Author

@jdye64 upmerged and bumped the versions again - note there is a change to decimal 128/256 support now

@andygrove andygrove changed the title use datafusion 9956f80f197550051db7debae15d5c706afc22a3 [DF] use datafusion 9956f80f197550051db7debae15d5c706afc22a3 Aug 11, 2022
@jdye64 jdye64 merged commit c8259b9 into dask-contrib:datafusion-sql-planner Aug 11, 2022
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