[
https://issues.apache.org/jira/browse/ARROW-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17658540#comment-17658540
]
Rok Mihevc commented on ARROW-1507:
-----------------------------------
This issue has been migrated to [issue
#17525|https://github.com/apache/arrow/issues/17525] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [C++] arrow/compute/api.h can't be used without arrow/array.h
> -------------------------------------------------------------
>
> Key: ARROW-1507
> URL: https://issues.apache.org/jira/browse/ARROW-1507
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Kouhei Sutou
> Assignee: Kouhei Sutou
> Priority: Minor
> Fix For: 0.7.0
>
>
> If arrow/compute/api.h is included but arrow/array.h isn't included, the
> following error is occurred:
> {code}
> In file included from arrow/compute/api.h:23:0,
> from arrow-glib/compute.hpp:22,
> from compute.cpp:24:
> arrow/compute/kernel.h:26:7: error: 'internal' has not been declared
> using internal::ArrayData;
> ^~~~~~~~
> arrow/compute/kernel.h:43:65: error: 'ArrayData' has not been declared
> virtual Status Call(FunctionContext* ctx, const Array& input, ArrayData*
> out) = 0;
> ^~~~~~~~~
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)