Skip to content

Fix clippy by avoiding deprecated functions in chrono#4189

Merged
alamb merged 2 commits intoapache:masterfrom
alamb:alamb/fix_clippy_again
Nov 12, 2022
Merged

Fix clippy by avoiding deprecated functions in chrono#4189
alamb merged 2 commits intoapache:masterfrom
alamb:alamb/fix_clippy_again

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Nov 12, 2022

Which issue does this PR close?

Fixes #4187

Rationale for this change

Clippy failing on master

What changes are included in this PR?

Switch to use non deprecated functions (that don't panic internally). Will note the actual code changes

Are these changes tested?

covered in existing tests

Are there any user-facing changes?

Some better error messages when timestamp conversion fails

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

Labels

core Core DataFusion crate optimizer Optimizer rules physical-expr Changes to the physical-expr crates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clippy failing on master : error: use of deprecated associated function chrono::NaiveDate::from_ymd: use from_ymd_opt() instead

4 participants