You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Phillip Cloud (JIRA)" <ji...@apache.org> on 2017/11/01 20:48:00 UTC

[jira] [Updated] (ARROW-1761) Multi argument operator kernel behavior for decimal columns

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

Phillip Cloud updated ARROW-1761:
---------------------------------
    Description: 
This is a JIRA to discuss the behavior of operator kernels that require more than one decimal column input where the column types have a different {{scale}} parameter.

For example:

{code}
a: decimal(12, 2)
b: decimal(10, 3)

c = a + b
{code}

Arithmetic is the primary use case, but anything that needs to efficiently operate on decimal columns with different scales would require this functionality.

I imagine that [~jnadeau] and folks at Dremio have thought about and solved the problem in Java. If so, we should consider implementing this behavior in C++. Otherwise, I'll do a bit of reading and digging to see how existing systems efficiently handle this problem.

  was:
This is a JIRA to discuss the behavior of operator kernels that require more than one decimal column input where the column types have a different {{scale}} parameter.

For example:

{code}
a: decimal(12, 2)
b: decimal(10, 3)

c = a + b
{code}

Arithmetic is the primary use case, but anything that needs to efficiently operate on decimal columns with different scales would require this functionality.

I imagine that @jacques-n and folks at Dremio have thought about and solved the problem in Java. If so, we should consider implementing this behavior in C++. Otherwise, I'll do a bit of reading and digging to see how existing systems efficiently handle this problem.


> Multi argument operator kernel behavior for decimal columns
> -----------------------------------------------------------
>
>                 Key: ARROW-1761
>                 URL: https://issues.apache.org/jira/browse/ARROW-1761
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, Java - Vectors
>    Affects Versions: 0.7.1
>            Reporter: Phillip Cloud
>            Assignee: Phillip Cloud
>            Priority: Major
>
> This is a JIRA to discuss the behavior of operator kernels that require more than one decimal column input where the column types have a different {{scale}} parameter.
> For example:
> {code}
> a: decimal(12, 2)
> b: decimal(10, 3)
> c = a + b
> {code}
> Arithmetic is the primary use case, but anything that needs to efficiently operate on decimal columns with different scales would require this functionality.
> I imagine that [~jnadeau] and folks at Dremio have thought about and solved the problem in Java. If so, we should consider implementing this behavior in C++. Otherwise, I'll do a bit of reading and digging to see how existing systems efficiently handle this problem.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)