You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/11/12 11:39:19 UTC

[GitHub] [arrow-datafusion] alamb opened a new issue, #4187: Clippy failing on master : error: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead

alamb opened a new issue, #4187:
URL: https://github.com/apache/arrow-datafusion/issues/4187

   **Describe the bug**
   Clippy failing on master https://github.com/apache/arrow-datafusion/actions/runs/3450721677/jobs/5759527413
   
   ```
   error: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead
      --> datafusion/common/src/scalar.rs:528:28
       |
   528 |     let epoch = NaiveDate::from_ymd(1970, 1, 1);
       |                            ^^^^^^^^
   ```
   
   **To Reproduce**
   Run clippy after `cargo update`
   
   **Expected behavior**
   clippy passes 
   
   **Additional context**
   I suspect the function was deprecated in https://crates.io/crates/chrono/0.4.23


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] alamb closed issue #4187: Clippy failing on master : error: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead

Posted by GitBox <gi...@apache.org>.
alamb closed issue #4187: Clippy failing on master : error: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead
URL: https://github.com/apache/arrow-datafusion/issues/4187


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org