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/10/15 16:41:04 UTC

[GitHub] [arrow-rs] viirya opened a new issue, #2878: Compilation error under chrono-tz feature

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

   **Describe the bug**
   <!--
   A clear and concise description of what the bug is.
   -->
   
   When enabling `chrono-tz` feature, there are compilation error:
   
   ```
   error[E0061]: this function takes 0 arguments but 2 arguments were supplied
       --> arrow/src/compute/kernels/cast.rs:5646:21
        |
   5646 |         let mut b = PrimitiveDictionaryBuilder::new(keys_builder, values_builder);     
        |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------  -------------- argument of type `arrow_array::builder::PrimitiveBuilder<arrow_array::types::Int32Type>` unexpected
        |                                                     |                                                                                                                                                                           
        |                                                     argument of type `arrow_array::builder::PrimitiveBuilder<K>` unexpected
        |
   note: associated function defined here                                                                             
       --> /Users/liangchi/repos/arrow-rs/arrow-array/src/builder/primitive_dictionary_builder.rs:108:12
        |
   108  |     pub fn new() -> Self {                                                                                  
        |            ^^^   
   help: remove the extra arguments
        |                                                                                                             
   5646 |         let mut b = PrimitiveDictionaryBuilder::new();
        |                                                    ~~                                                
                                                                                                                      
   error[E0061]: this function takes 0 arguments but 2 arguments were supplied
       --> arrow/src/compute/kernels/cast.rs:5658:21                                                                  
        |                                                                                                             
   5658 |         let mut b = StringDictionaryBuilder::new(keys_builder, values_builder);
        |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------  -------------- argument of type `arrow_array::builder::GenericStringBuilder<i32>` unexpected
        |                                                  |                                                          
        |                                                  argument of type `arrow_array::builder::PrimitiveBuilder<K>` unexpected
        |  
   ```
   
   **To Reproduce**
   <!--
   Steps to reproduce the behavior:
   -->
   
   **Expected behavior**
   <!--
   A clear and concise description of what you expected to happen.
   -->
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->


-- 
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-rs] tustvold closed issue #2878: Compilation error under chrono-tz feature

Posted by GitBox <gi...@apache.org>.
tustvold closed issue #2878: Compilation error under chrono-tz feature
URL: https://github.com/apache/arrow-rs/issues/2878


-- 
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


[GitHub] [arrow-rs] alamb commented on issue #2878: Compilation error under chrono-tz feature

Posted by GitBox <gi...@apache.org>.
alamb commented on issue #2878:
URL: https://github.com/apache/arrow-rs/issues/2878#issuecomment-1294979244

   `label_issue.py` automatically added labels {'arrow'} from #2879


-- 
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