[ 
https://issues.apache.org/jira/browse/ARROW-11631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ian Cook updated ARROW-11631:
-----------------------------
    Description: 
This succeeds:
{code:java}
Array$create(1)$cast(decimal(10, 2)){code}
but this fails:
{code:java}
Array$create(1, type = decimal(10, 2)){code}
with error:
{code:java}
NotImplemented: Extend{code}
because the {{Extend}} method of the {{RPromitiveConverter}} class for the 
Decimal type is not yet implemented.

The error is thrown here: 
[https://github.com/apache/arrow/blob/7184c3f46981dd52c3c521b2676796e82f17da77/r/src/r_to_arrow.cpp#L601]

  was:
This succeeds:
{code:java}
Array$create(1)$cast(decimal(10, 2)){code}
but this fails:
{code:java}
Array$create(1, type = decimal(10, 2)){code}
with error:
{code:java}
NotImplemented: Extend{code}
because the {{Extend}} method of the {{RPromitiveConverter}} class for the 
Decimal type is not yet implemented.


> [R] Implement RPrimitiveConverter for Decimal type
> --------------------------------------------------
>
>                 Key: ARROW-11631
>                 URL: https://issues.apache.org/jira/browse/ARROW-11631
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>    Affects Versions: 3.0.0
>            Reporter: Ian Cook
>            Priority: Major
>
> This succeeds:
> {code:java}
> Array$create(1)$cast(decimal(10, 2)){code}
> but this fails:
> {code:java}
> Array$create(1, type = decimal(10, 2)){code}
> with error:
> {code:java}
> NotImplemented: Extend{code}
> because the {{Extend}} method of the {{RPromitiveConverter}} class for the 
> Decimal type is not yet implemented.
> The error is thrown here: 
> [https://github.com/apache/arrow/blob/7184c3f46981dd52c3c521b2676796e82f17da77/r/src/r_to_arrow.cpp#L601]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to