Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-1507

[C++] arrow/compute/api.h can't be used without arrow/array.h

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7.0
    • Component/s: C++
    • Labels:
      None

      Description

      If arrow/compute/api.h is included but arrow/array.h isn't included, the following error is occurred:

      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;
                                                                       ^~~~~~~~~
      

        Attachments

          Activity

            People

            • Assignee:
              kou Sutou Kouhei
              Reporter:
              kou Sutou Kouhei
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: