alamb opened a new pull request, #14915:
URL: https://github.com/apache/datafusion/pull/14915

   ## Which issue does this PR close?
   
   - Related to https://github.com/apache/arrow-rs/issues/7209
   
   
   ## Rationale for this change
   I am using this PR to verify the 54.2.1 arrow hotfix
   
   
   ## What changes are included in this PR?
   
   
   Without this PR, the following command fails:
   
   ```shell
   
   andrewlamb@Andrews-MacBook-Pro-2:~/Software/datafusion$ cargo install --path 
datafusion-cli/
     Installing datafusion-cli v45.0.0 
(/Users/andrewlamb/Software/datafusion/datafusion-cli)
       Updating crates.io index
   ...
   
      Compiling hyper-rustls v0.24.2
   error[E0034]: multiple applicable items in scope
      --> 
/Users/andrewlamb/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-arith-54.2.0/src/temporal.rs:92:36
       |
   92  |         DatePart::Quarter => |d| d.quarter() as i32,
       |                                    ^^^^^^^ multiple `quarter` found
       |
   note: candidate #1 is defined in the trait `ChronoDateExt`
      --> 
/Users/andrewlamb/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-arith-54.2.0/src/temporal.rs:638:5
       |
   638 |     fn quarter(&self) -> u32;
       |     ^^^^^^^^^^^^^^^^^^^^^^^^^
   note: candidate #2 is defined in the trait `Datelike`
      --> 
/Users/andrewlamb/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.40/src/traits.rs:47:5
       |
   47  |     fn quarter(&self) -> u32 {
       |     ^^^^^^^^^^^^^^^^^^^^^^^^
   help: disambiguate the method for candidate #1
       |
   92  |         DatePart::Quarter => |d| ChronoDateExt::quarter(&d) as i32,
       |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
   help: disambiguate the method for candidate #2
       |
   92  |         DatePart::Quarter => |d| Datelike::quarter(&d) as i32,
       |                                  ~~~~~~~~~~~~~~~~~~~~~
   
      Compiling apache-avro v0.17.0
   For more information about this error, try `rustc --explain E0034`.
   ```
   
   With this PR, building succeeds:
   
   ```shell
   andrewlamb@Andrews-MacBook-Pro-2:~/Software/datafusion$ cargo install --path 
datafusion-cli/
   ...
   ```
   
   
   ## Are these changes tested?
   
   <!--
   We typically require tests for all PRs in order to:
   1. Prevent the code from being accidentally broken by subsequent changes
   2. Serve as another way to document the expected behavior of the code
   
   If tests are not included in your PR, please explain why (for example, are 
they covered by existing tests)?
   -->
   
   ## Are there any user-facing changes?
   
   <!--
   If there are user-facing changes then we may require documentation to be 
updated before approving the PR.
   -->
   
   <!--
   If there are any breaking changes to public APIs, please add the `api 
change` label.
   -->
   


-- 
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-unsubscr...@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to