ChristopherRabotin opened a new issue, #8038:
URL: https://github.com/apache/arrow-rs/issues/8038

   As per [this CI 
run](https://github.com/nyx-space/anise/actions/runs/16732045094/job/47362185707?pr=501),
 there seems to be an import issue when using parquet, arrow (both default 
features only), and polars with ["lazy", "parquet"] feature, all three version 
50.0.0.
   
   ```
   error[E0034]: multiple applicable items in scope
      --> 
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-arith-50.0.0/src/temporal.rs:238:47
       |
   238 |     time_fraction_dyn(array, "quarter", |t| t.quarter() as i32)
       |                                               ^^^^^^^ multiple 
`quarter` found
       |
       = note: candidate #1 is defined in an impl of the trait `Datelike` for 
the type `NaiveDateTime`
   note: candidate #2 is defined in an impl of the trait `ChronoDateExt` for 
the type `T`
      --> 
/home/runner/.cargo/registry/src/index.crates.io-1[949](https://github.com/nyx-space/anise/actions/runs/16732045094/job/47362185707?pr=501#step:6:950)cf8c6b5b557f/arrow-arith-50.0.0/src/temporal.rs:147:5
       |
   147 |     fn quarter(&self) -> u32 {
       |     ^^^^^^^^^^^^^^^^^^^^^^^^
   help: disambiguate the method for candidate #1
       |
   238 -     time_fraction_dyn(array, "quarter", |t| t.quarter() as i32)
   238 +     time_fraction_dyn(array, "quarter", |t| Datelike::quarter(&t) as 
i32)
       |
   help: disambiguate the method for candidate #2
       |
   238 -     time_fraction_dyn(array, "quarter", |t| t.quarter() as i32)
   238 +     time_fraction_dyn(array, "quarter", |t| ChronoDateExt::quarter(&t) 
as i32)
       |
   
   error[E0034]: multiple applicable items in scope
      --> 
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-arith-50.0.0/src/temporal.rs:248:52
       |
   248 |     time_fraction_internal(array, "quarter", |t| t.quarter() as i32)
       |                                                    ^^^^^^^ multiple 
`quarter` found
       |
       = note: candidate #1 is defined in an impl of the trait `Datelike` for 
the type `NaiveDateTime`
   note: candidate #2 is defined in an impl of the trait `ChronoDateExt` for 
the type `T`
      --> 
/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-arith-50.0.0/src/temporal.rs:147:5
       |
   147 |     fn quarter(&self) -> u32 {
       |     ^^^^^^^^^^^^^^^^^^^^^^^^
   help: disambiguate the method for candidate #1
       |
   248 -     time_fraction_internal(array, "quarter", |t| t.quarter() as i32)
   248 +     time_fraction_internal(array, "quarter", |t| Datelike::quarter(&t) 
as i32)
       |
   help: disambiguate the method for candidate #2
       |
   248 -     time_fraction_internal(array, "quarter", |t| t.quarter() as i32)
   248 +     time_fraction_internal(array, "quarter", |t| 
ChronoDateExt::quarter(&t) as i32)
   
   **To Reproduce**
   <!--
   Steps to reproduce the behavior:
   -->
   
   Try to build arrow-airth 50.0.0.
   
   **Expected behavior**
   
   Successful built
   
   **Additional context**
   
   Maybe the arith crate needs a feature to choose whether to use Chrono or 
another datetime library?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to