You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2020/10/12 10:37:00 UTC
[jira] [Resolved] (ARROW-10262) [C++] Some TypeClass in Scalar
classes seem incorrect
[ https://issues.apache.org/jira/browse/ARROW-10262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou resolved ARROW-10262.
------------------------------------
Fix Version/s: 2.0.0
Resolution: Fixed
Issue resolved by pull request 8423
[https://github.com/apache/arrow/pull/8423]
> [C++] Some TypeClass in Scalar classes seem incorrect
> -----------------------------------------------------
>
> Key: ARROW-10262
> URL: https://issues.apache.org/jira/browse/ARROW-10262
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Affects Versions: 1.0.1
> Reporter: RUOXI SUN
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Alias _TypeClass_ in _[BinaryScalar|https://github.com/apache/arrow/blob/master/cpp/src/arrow/scalar.h#L217]_ and _[LargeBinaryScalar|https://github.com/apache/arrow/blob/master/cpp/src/arrow/scalar.h#L242]_ are being _BinaryScalar_ and _LargeBinaryScalar_. Are they supposed to be _BinaryType_ and _LargeBinaryType_?
> I'm having issues when I use _TypeTrait_ on _ScalarType::TypeClass_ - compiler complains that there are no whatever members in specialized _TypeTrait<BinaryScalar>_ and _TypeTrait<LargeBinaryScalar>_.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)