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/02/15 19:56:14 UTC

[GitHub] [arrow-rs] alamb opened a new issue #1312: Add `as_decimal_array(arr: &dyn Array) -> &DecimalArray`

alamb opened a new issue #1312:
URL: https://github.com/apache/arrow-rs/issues/1312


   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   There are many `as_XXX` functions  such as [`as_boolean_array`](https://docs.rs/arrow/9.0.2/arrow/array/fn.as_boolean_array.html) to conveniently downcast arrays to the appropriate concrete Array types, but not one for `DecimalArray` 😢 . 
   
   The full list of supported ones is in the doc  https://docs.rs/arrow/9.0.2/arrow/array/index.html#functions) 
   
   **Describe the solution you'd like**
   I would like one for DecimalArray:
   
   ```
   fn as_decimal_array(arr: &dyn Array) -> &DecimalArray {
   ...
   }
   ```
   
   
   **Additional context**
   Context: I found while working on https://github.com/apache/arrow-datafusion/pull/1475


-- 
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] liukun4515 edited a comment on issue #1312: Add `as_decimal_array(arr: &dyn Array) -> &DecimalArray`

Posted by GitBox <gi...@apache.org>.
liukun4515 edited a comment on issue #1312:
URL: https://github.com/apache/arrow-rs/issues/1312#issuecomment-1042821921


   I will do this on the weekend, and focus on some knowledge about ballista and distributed scheduler recently.


-- 
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 #1312: Add `as_decimal_array(arr: &dyn Array) -> &DecimalArray`

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


   cc @liukun4515 


-- 
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 closed issue #1312: Add `as_decimal_array(arr: &dyn Array) -> &DecimalArray`

Posted by GitBox <gi...@apache.org>.
alamb closed issue #1312:
URL: https://github.com/apache/arrow-rs/issues/1312


   


-- 
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] liukun4515 commented on issue #1312: Add `as_decimal_array(arr: &dyn Array) -> &DecimalArray`

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


   I will do this in the weekend, and focus on some knowledge about ballista and distributed scheduler.


-- 
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] liukun4515 commented on issue #1312: Add `as_decimal_array(arr: &dyn Array) -> &DecimalArray`

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


   > cc @liukun4515
   
   If no one takes this, I am glad to do this task.
   @alamb  Please assign it to me.
   


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