toddfarmer / arrow-migration

0 stars 1 forks source link

[C++] Implement union-like data type for accommodating kernel arguments which may be scalars or arrays #1423

Closed toddfarmer closed 6 years ago

toddfarmer commented 7 years ago

Note: This issue was originally created as ARROW-1485. Please see the migration documentation for further details.

Original Issue Description:

For example, either argument to the binary operator Add may be scalar or array. Some systems have addressed this issue by using arrays of length 1, but I would prefer that we accommodate this in Arrow's C++ data types

toddfarmer commented 6 years ago

Note: Comment by Wes McKinney (wesm): This was initially done in https://github.com/apache/arrow/commit/f2806fa518583907a129b2ecb0b7ec8758b69e17