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

Use Chrono without default features #914

Closed
hntd187 opened this issue Nov 3, 2022 · 1 comment · Fixed by #1014
Closed

Use Chrono without default features #914

hntd187 opened this issue Nov 3, 2022 · 1 comment · Fixed by #1014
Labels
bug Something isn't working

Comments

@hntd187
Copy link
Collaborator

hntd187 commented Nov 3, 2022

Chrono currently (version 0.4.22) by default enables the "oldtime" feature, which is for compatibility. It also introduces this rustsec issue, https://rustsec.org/advisories/RUSTSEC-2020-0071

To the best of my understanding chrono does not need this feature enabled, would it be possible to do this? I am happy to put in a PR if maintainers are onboard with the change.

@hntd187 hntd187 added the bug Something isn't working label Nov 3, 2022
@wjones127
Copy link
Collaborator

I'm in favor of this. Feel free to open a PR and I am happy to review. 👍

roeap added a commit that referenced this issue Dec 30, 2022
# Description

~~This PR updates datafusion and related dependencies to their latest
versions. Since datafusion now has improved support for loading
partition columns with non string types, we update our scan methods to
take advantage of that.~~

While working on dependencies, I took the opportunity to do some
housekeeping.

- do not use chrono with default features
- make `aws-profile` from object_store optional. The upstream create
explicitly discourages its usage, and it brings quite a few new
dependencies, as it pulls in some aws sdk.
- rename `datafusion-ext` feature to `datafusion`. The ext suffix is
still from a time where there were less options to define features. I
kept the ols feature around as an alias.

# Related Issue(s)

closes #914

# Documentation

<!---
Share links to useful documentation
--->

Co-authored-by: R. Tyler Croy <rtyler@brokenco.de>
chitralverma pushed a commit to chitralverma/delta-rs that referenced this issue Mar 17, 2023
# Description

~~This PR updates datafusion and related dependencies to their latest
versions. Since datafusion now has improved support for loading
partition columns with non string types, we update our scan methods to
take advantage of that.~~

While working on dependencies, I took the opportunity to do some
housekeeping.

- do not use chrono with default features
- make `aws-profile` from object_store optional. The upstream create
explicitly discourages its usage, and it brings quite a few new
dependencies, as it pulls in some aws sdk.
- rename `datafusion-ext` feature to `datafusion`. The ext suffix is
still from a time where there were less options to define features. I
kept the ols feature around as an alias.

# Related Issue(s)

closes delta-io#914

# Documentation

<!---
Share links to useful documentation
--->

Co-authored-by: R. Tyler Croy <rtyler@brokenco.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants