Skip to content

Instantly share code, notes, and snippets.

@wesm
Created February 14, 2019 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wesm/d3ea882af3b64b43a31ae1b2d2602877 to your computer and use it in GitHub Desktop.
Save wesm/d3ea882af3b64b43a31ae1b2d2602877 to your computer and use it in GitHub Desktop.
+ export ARROW_BUILD_TOOLCHAIN=/opt/conda
+ ARROW_BUILD_TOOLCHAIN=/opt/conda
+ mkdir -p /build/lint
+ pushd /build/lint
/build/lint /
+ cmake -GNinja -DARROW_FLIGHT=ON -DARROW_GANDIVA=ON -DARROW_PARQUET=ON -DARROW_PYTHON=ON -DCMAKE_CXX_FLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON /arrow/cpp
-- Building using CMake version: 3.13.2
-- Arrow version: 0.13.0 (full: '0.13.0-SNAPSHOT')
-- clang-tidy found at /usr/bin/clang-tidy-7
-- clang-format found at /usr/bin/clang-format-7
-- infer not found
-- Using ccache: /usr/bin/ccache
-- Found cpplint executable at /arrow/cpp/build-support/cpplint.py
-- Compiler command: env LANG=C /usr/bin/g++ -v
-- Compiler version: Using built-in specs.
COLLECT_GCC=/usr/bin/g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-27ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)
-- Compiler id: GNU
Selected compiler gcc 7.3.0
-- Arrow build warning level: PRODUCTION
Using ld linker
Configured for RELEASE build (set with cmake -DCMAKE_BUILD_TYPE={release,debug,...})
-- Build Type: RELEASE
-- BOOST_VERSION: 1.67.0
-- BROTLI_VERSION: v0.6.0
-- CARES_VERSION: 1.15.0
-- DOUBLE_CONVERSION_VERSION: v3.1.1
-- FLATBUFFERS_VERSION: v1.10.0
-- GBENCHMARK_VERSION: v1.4.1
-- GFLAGS_VERSION: v2.2.0
-- GLOG_VERSION: v0.3.5
-- GRPC_VERSION: v1.18.0
-- GTEST_VERSION: 1.8.1
-- JEMALLOC_VERSION: 17c897976c60b0e6e4f4a365c751027244dada7a
-- LZ4_VERSION: v1.8.3
-- ORC_VERSION: 1.5.4
-- PROTOBUF_VERSION: v3.6.1
-- RAPIDJSON_VERSION: v1.1.0
-- RE2_VERSION: 2018-10-01
-- SNAPPY_VERSION: 1.1.3
-- THRIFT_VERSION: 0.11.0
-- ZLIB_VERSION: 1.2.8
-- ZSTD_VERSION: v1.3.7
-- Boost version: 1.68.0
-- Found the following Boost libraries:
-- regex
-- system
-- filesystem
-- Boost include dir: /opt/conda/include
-- Boost libraries: /opt/conda/lib/libboost_regex.so/opt/conda/lib/libboost_system.so/opt/conda/lib/libboost_filesystem.so
Added shared library dependency boost_system_shared: /opt/conda/lib/libboost_system.so
Added shared library dependency boost_filesystem_shared: /opt/conda/lib/libboost_filesystem.so
Added shared library dependency boost_regex_shared: /opt/conda/lib/libboost_regex.so
Added static library dependency double-conversion_static: /opt/conda/lib/libdouble-conversion.a
-- double-conversion include dir: /opt/conda/include
-- double-conversion static library: /opt/conda/lib/libdouble-conversion.a
-- GFLAGS_HOME: /opt/conda
-- GFlags include dir: /opt/conda/include
-- GFlags static library: /opt/conda/lib/libgflags.a
Added static library dependency gflags_static: /opt/conda/lib/libgflags.a
-- RapidJSON include dir: /opt/conda/include
-- Found the Flatbuffers library: /opt/conda/lib64/libflatbuffers.a
-- Flatbuffers include dir: /opt/conda/include
-- Flatbuffers compiler: /opt/conda/bin/flatc
Added static library dependency jemalloc_static: /build/lint/jemalloc_ep-prefix/src/jemalloc_ep/dist//lib/libjemalloc_pic.a
Added shared library dependency jemalloc_shared: /build/lint/jemalloc_ep-prefix/src/jemalloc_ep/dist//lib/libjemalloc.so
-- Found hdfs.h at: /arrow/cpp/thirdparty/hadoop/include/hdfs.h
-- Found the ZLIB shared library: /opt/conda/lib/libz.so
Added shared library dependency zlib_shared: /opt/conda/lib/libz.so
-- SNAPPY_HOME: /opt/conda
-- Found the Snappy library: /opt/conda/lib/libsnappy.so
Added static library dependency snappy_static: /opt/conda/lib/libsnappy.a
-- Found the Brotli library: /opt/conda/lib/libbrotlienc-static.a;/opt/conda/lib/libbrotlidec-static.a;/opt/conda/lib/libbrotlicommon-static.a
Added static library dependency brotli_enc_static: /opt/conda/lib/libbrotlienc-static.a
Added static library dependency brotli_dec_static: /opt/conda/lib/libbrotlidec-static.a
Added static library dependency brotli_common_static: /opt/conda/lib/libbrotlicommon-static.a
Added static library dependency lz4_static: /opt/conda/lib/liblz4.a
Added static library dependency zstd_static: /opt/conda/lib/libzstd.a
-- RE2_HOME: /opt/conda
-- RE2 headers : /opt/conda/include
-- RE2 static library : /opt/conda/lib/libre2.a
-- RE2 shared library : /opt/conda/lib/libre2.so
Added static library dependency re2_static: /opt/conda/lib/libre2.a
-- PROTOBUF_HOME: /opt/conda
-- Found the Protobuf headers: /opt/conda/include
-- Found the Protobuf shared library: /opt/conda/lib/libprotobuf.so
-- Found the Protobuf library: /opt/conda/lib/libprotobuf.a
-- Found the Protoc shared library: /opt/conda/lib/libprotoc.so
-- Found the Protoc library: /opt/conda/lib/libprotoc.a
-- Found the Protoc executable: /opt/conda/bin/protoc
Added static library dependency protobuf_static: /opt/conda/lib/libprotobuf.a
-- Found the c-ares shared library: /opt/conda/lib/libcares.so
-- c-ares library: /opt/conda/lib/libcares_static.a
-- GRPC_HOME: /opt/conda
-- Found CMake installation of gRPC
-- Found the gRPC headers: /opt/conda/include
Added static library dependency grpc_gpr_static: /opt/conda/lib/libgpr.a
Added static library dependency grpc_grpc_static: /opt/conda/lib/libgrpc_unsecure.a
Added static library dependency grpc_grpcpp_static: /opt/conda/lib/libgrpc++_unsecure.a
Added static library dependency grpc_address_sorting_static: /opt/conda/lib/libaddress_sorting.a
Added static library dependency cares_static: /opt/conda/lib/libcares_static.a
-- THRIFT_HOME: /opt/conda
-- Thrift version: 0.12.0
-- Thrift include dir: /opt/conda/include
-- Thrift static library: /opt/conda/lib/libthrift.a
-- Thrift compiler: /opt/conda/bin/thrift
-- GLOG_HOME: /opt/conda
-- Found the GLog library: /opt/conda/lib/libglog.so
-- Glog include dir: /opt/conda/include
-- Glog static library: /opt/conda/lib/libglog.a
Added static library dependency glog_static: /opt/conda/lib/libglog.a
-- CMAKE_C_FLAGS: -O3 -DNDEBUG -Wall -msse4.2
-- CMAKE_CXX_FLAGS: -Wno-noexcept-type -D_GLIBCXX_USE_CXX11_ABI=0 -O3 -DNDEBUG -Wall -msse4.2
-- Searching for Python libs in /opt/conda/lib64;/opt/conda/lib;/opt/conda/lib/python3.6/config-3.6m-x86_64-linux-gnu
-- Looking for python3.6m
-- Found Python lib /opt/conda/lib/libpython3.6m.so
-- Found LLVM 7.0.0
-- Using LLVMConfig.cmake in: /usr/lib/llvm-7/cmake
-- Found llvm-link /usr/lib/llvm-7/bin/llvm-link
-- Found clang 7.0 /usr/lib/llvm-7/bin/clang-7
-- Configuring done
-- Generating done
-- Build files have been written to: /build/lint
+ popd
/
+ export IWYU_COMPILATION_DATABASE_PATH=/build/lint
+ IWYU_COMPILATION_DATABASE_PATH=/build/lint
+ /arrow/cpp/build-support/iwyu/iwyu.sh all
+++ dirname /arrow/cpp/build-support/iwyu/iwyu.sh
++ cd /arrow/cpp/build-support/iwyu/../../..
++ pwd
+ ROOT=/arrow
++ mktemp -t arrow-cpp-iwyu.XXXXXX
+ IWYU_LOG=/tmp/arrow-cpp-iwyu.SoQiAl
+ trap 'rm -f /tmp/arrow-cpp-iwyu.SoQiAl' EXIT
+ echo 'Logging IWYU to /tmp/arrow-cpp-iwyu.SoQiAl'
Logging IWYU to /tmp/arrow-cpp-iwyu.SoQiAl
+ IWYU_MAPPINGS_PATH=/arrow/cpp/build-support/iwyu/mappings
+ IWYU_ARGS='--mapping_file=/arrow/cpp/build-support/iwyu/mappings/boost-all.imp --mapping_file=/arrow/cpp/build-support/iwyu/mappings/boost-all-private.imp --mapping_file=/arrow/cpp/build-support/iwyu/mappings/boost-extra.imp --mapping_file=/arrow/cpp/build-support/iwyu/mappings/gflags.imp --mapping_file=/arrow/cpp/build-support/iwyu/mappings/glog.imp --mapping_file=/arrow/cpp/build-support/iwyu/mappings/gtest.imp --mapping_file=/arrow/cpp/build-support/iwyu/mappings/arrow-misc.imp'
+ set -e
+ '[' all == all ']'
+ python /arrow/cpp/build-support/iwyu/iwyu_tool.py -p /build/lint -- --mapping_file=/arrow/cpp/build-support/iwyu/mappings/boost-all.imp --mapping_file=/arrow/cpp/build-support/iwyu/mappings/boost-all-private.imp --mapping_file=/arrow/cpp/build-support/iwyu/mappings/boost-extra.imp --mapping_file=/arrow/cpp/build-support/iwyu/mappings/gflags.imp --mapping_file=/arrow/cpp/build-support/iwyu/mappings/glog.imp --mapping_file=/arrow/cpp/build-support/iwyu/mappings/gtest.imp --mapping_file=/arrow/cpp/build-support/iwyu/mappings/arrow-misc.imp
+ awk -f /arrow/cpp/build-support/iwyu/iwyu-filter.awk
/arrow/cpp/src/arrow/util/compression_zstd.cc should add these lines:
/arrow/cpp/src/arrow/util/compression_zstd.cc should remove these lines:
- #include <cstddef> // lines 20-20
/arrow/cpp/src/arrow/util/compression_zlib.cc should add these lines:
/arrow/cpp/src/arrow/util/compression_zlib.cc should remove these lines:
- #include <sstream> // lines 25-25
- #include <string> // lines 26-26
/arrow/cpp/src/arrow/util/compression_snappy.cc should add these lines:
/arrow/cpp/src/arrow/util/compression_snappy.cc should remove these lines:
- #include <cstddef> // lines 20-20
/arrow/cpp/src/arrow/util/compression_lz4.cc should add these lines:
/arrow/cpp/src/arrow/util/compression_lz4.cc should remove these lines:
- #include <sstream> // lines 22-22
/arrow/cpp/src/arrow/util/compression_brotli.cc should add these lines:
/arrow/cpp/src/arrow/util/compression_brotli.cc should remove these lines:
- #include <sstream> // lines 22-22
/arrow/cpp/src/arrow/array.cc should add these lines:
/arrow/cpp/src/arrow/array.cc should remove these lines:
- #include <sstream> // lines 24-24
/arrow/cpp/src/arrow/builder.cc should add these lines:
#include <algorithm> // for max
/arrow/cpp/src/arrow/builder.cc should remove these lines:
- #include <sstream> // lines 20-20
- #include <string> // lines 21-21
/arrow/cpp/src/arrow/array/builder_adaptive.h should add these lines:
#include <string.h> // for memset
#include <cstdint> // for uint8_t, int64_t, uint64_t
#include <type_traits> // for enable_if
#include "arrow/buffer.h" // for ResizableBuffer
#include "arrow/memory_pool.h" // for MemoryPool (ptr only), ARROW_M...
#include "arrow/status.h" // for Status, ARROW_RETURN_NOT_OK
#include "arrow/util/macros.h" // for ARROW_PREDICT_FALSE, NULLPTR
#include "arrow/util/visibility.h" // for ARROW_EXPORT
namespace arrow { struct ArrayData; }
/arrow/cpp/src/arrow/array/builder_adaptive.h should remove these lines:
/arrow/cpp/src/arrow/array/builder_adaptive.cc should add these lines:
#include "arrow/buffer-builder.h" // for TypedBufferBuilder
/arrow/cpp/src/arrow/array/builder_adaptive.cc should remove these lines:
- #include <cstddef> // lines 21-21
- #include <utility> // lines 23-23
- #include "arrow/type_traits.h" // lines 29-29
- #include "arrow/util/bit-util.h" // lines 30-30
/arrow/cpp/src/arrow/array/builder_base.h should add these lines:
namespace arrow { class DataType; }
namespace arrow { class MemoryPool; }
namespace arrow { class ResizableBuffer; }
/arrow/cpp/src/arrow/array/builder_base.h should remove these lines:
- #include <array> // lines 21-21
- #include <cstddef> // lines 22-22
- #include <cstring> // lines 24-24
- #include <iterator> // lines 25-25
- #include <string> // lines 28-28
- #include <type_traits> // lines 29-29
- #include "arrow/memory_pool.h" // lines 33-33
- #include "arrow/type.h" // lines 35-35
- #include "arrow/type_traits.h" // lines 36-36
- #include "arrow/util/bit-util.h" // lines 37-37
- #include "arrow/util/string_view.h" // lines 39-39
- #include "arrow/util/type_traits.h" // lines 40-40
/arrow/cpp/src/arrow/array/builder_base.cc should add these lines:
/arrow/cpp/src/arrow/array/builder_base.cc should remove these lines:
- #include <algorithm> // lines 20-20
- #include <cstddef> // lines 21-21
- #include <cstring> // lines 23-23
- #include <sstream> // lines 24-24
- #include <utility> // lines 25-25
- #include "arrow/type.h" // lines 31-31
- #include "arrow/type_traits.h" // lines 32-32
- #include "arrow/util/bit-util.h" // lines 33-33
- #include "arrow/util/int-util.h" // lines 34-34
/arrow/cpp/src/arrow/array/builder_binary.h should add these lines:
#include <stddef.h> // for size_t
#include <array> // for array
#include <cstdint> // for int32_t, uint8_t, int64_t
#include "arrow/memory_pool.h" // for MemoryPool (ptr only), ARROW_M...
#include "arrow/util/visibility.h" // for ARROW_EXPORT
namespace arrow { class DataType; }
/arrow/cpp/src/arrow/array/builder_binary.h should remove these lines:
- #include <sstream> // lines 22-22
- #include "arrow/type_traits.h" // lines 30-30
/arrow/cpp/src/arrow/array/builder_binary.cc should add these lines:
namespace arrow { class Buffer; }
/arrow/cpp/src/arrow/array/builder_binary.cc should remove these lines:
- #include <algorithm> // lines 20-20
- #include "arrow/buffer.h" // lines 31-31
- #include "arrow/type_traits.h" // lines 34-34
- #include "arrow/util/bit-util.h" // lines 35-35
- #include "arrow/util/decimal.h" // lines 37-37
/arrow/cpp/src/arrow/array/builder_decimal.h should add these lines:
#include "arrow/memory_pool.h" // for ARROW_MEMORY_POOL_DEFAULT
#include "arrow/status.h" // for Status
#include "arrow/util/visibility.h" // for ARROW_EXPORT
namespace arrow { class DataType; }
namespace arrow { struct ArrayData; }
/arrow/cpp/src/arrow/array/builder_decimal.h should remove these lines:
- #include "arrow/array/builder_base.h" // lines 22-22
/arrow/cpp/src/arrow/array/builder_decimal.cc should add these lines:
#include "arrow/buffer-builder.h" // for BufferBuilder, TypedBufferBuilder
namespace arrow { class Buffer; }
namespace arrow { class DataType; }
/arrow/cpp/src/arrow/array/builder_decimal.cc should remove these lines:
- #include <algorithm> // lines 20-20
- #include <cstddef> // lines 21-21
- #include <cstdint> // lines 22-22
- #include <cstring> // lines 23-23
- #include <numeric> // lines 25-25
- #include <sstream> // lines 26-26
- #include <string> // lines 27-27
- #include <utility> // lines 28-28
- #include <vector> // lines 29-29
- #include "arrow/buffer.h" // lines 32-32
- #include "arrow/type.h" // lines 34-34
- #include "arrow/type_traits.h" // lines 35-35
- #include "arrow/util/bit-util.h" // lines 36-36
- #include "arrow/util/checked_cast.h" // lines 37-37
- #include "arrow/util/logging.h" // lines 39-39
/arrow/cpp/src/arrow/array/builder_dict.h should add these lines:
#include <cstdint> // for int32_t, uint8_t, int64_t
#include <type_traits> // for enable_if, is_base_of
#include "arrow/status.h" // for Status
#include "arrow/type_traits.h" // for TypeTraits
#include "arrow/util/visibility.h" // for ARROW_EXPORT
#include "arrow/vendored/string_view.hpp" // for string_view
namespace arrow { class Array; }
namespace arrow { class BinaryType; }
namespace arrow { class DataType; }
namespace arrow { class FixedSizeBinaryType; }
namespace arrow { class MemoryPool; }
namespace arrow { class NullType; }
namespace arrow { class StringType; }
namespace arrow { struct ArrayData; }
/arrow/cpp/src/arrow/array/builder_dict.h should remove these lines:
/arrow/cpp/src/arrow/array/builder_dict.cc should add these lines:
#include <string> // for operator<<
namespace arrow { class MemoryPool; }
/arrow/cpp/src/arrow/array/builder_dict.cc should remove these lines:
- #include <type_traits> // lines 24-24
- #include "arrow/buffer.h" // lines 29-29
/arrow/cpp/src/arrow/array/builder_nested.h should add these lines:
#include <cstdint> // for int64_t, int32_t, uint8_t
#include "arrow/status.h" // for Status, ARROW_RETURN_NOT_OK
#include "arrow/util/macros.h" // for NULLPTR
#include "arrow/util/visibility.h" // for ARROW_EXPORT
namespace arrow { class Array; }
namespace arrow { class DataType; }
namespace arrow { class MemoryPool; }
namespace arrow { struct ArrayData; }
/arrow/cpp/src/arrow/array/builder_nested.h should remove these lines:
/arrow/cpp/src/arrow/array/builder_nested.cc should add these lines:
#include "arrow/util/checked_cast.h" // for checked_cast
namespace arrow { class Buffer; }
namespace arrow { class MemoryPool; }
/arrow/cpp/src/arrow/array/builder_nested.cc should remove these lines:
- #include <algorithm> // lines 20-20
- #include <cstring> // lines 23-23
- #include <sstream> // lines 24-24
- #include "arrow/buffer.h" // lines 29-29
- #include "arrow/type_traits.h" // lines 32-32
- #include "arrow/util/bit-util.h" // lines 33-33
- #include "arrow/util/int-util.h" // lines 34-34
/arrow/cpp/src/arrow/array/builder_primitive.h should add these lines:
#include <string.h> // for memset, size_t
#include <cstdint> // for int64_t, uint8_t
#include <iosfwd> // for nullptr_t
#include <iterator> // for distance
#include <type_traits> // for enable_if, is_pointer
#include "arrow/buffer.h" // for ResizableBuffer
#include "arrow/memory_pool.h" // for MemoryPool (ptr only), ARROW_M...
#include "arrow/status.h" // for Status, ARROW_RETURN_NOT_OK
#include "arrow/type_traits.h" // for TypeTraits
#include "arrow/util/bit-util.h" // for ClearBit, GenerateBitsUnrolled
#include "arrow/util/macros.h" // for NULLPTR
#include "arrow/util/type_traits.h" // for is_null_pointer
#include "arrow/util/visibility.h" // for ARROW_EXPORT
namespace arrow { struct ArrayData; }
/arrow/cpp/src/arrow/array/builder_primitive.h should remove these lines:
- #include <algorithm> // lines 20-20
/arrow/cpp/src/arrow/array/builder_primitive.cc should add these lines:
#include "arrow/buffer-builder.h" // for TypedBufferBuilder
/arrow/cpp/src/arrow/array/builder_primitive.cc should remove these lines:
- #include <cstddef> // lines 21-21
- #include <utility> // lines 25-25
- #include "arrow/util/int-util.h" // lines 34-34
/arrow/cpp/src/arrow/array/builder_union.h should add these lines:
#include <cstdint> // for int8_t, int32_t
#include "arrow/status.h" // for Status, ARROW_RETURN_NOT_OK
#include "arrow/util/macros.h" // for NULLPTR
#include "arrow/util/visibility.h" // for ARROW_EXPORT
namespace arrow { class DataType; }
namespace arrow { class MemoryPool; }
namespace arrow { struct ArrayData; }
/arrow/cpp/src/arrow/array/builder_union.h should remove these lines:
- #include "arrow/array.h" // lines 24-24
/arrow/cpp/src/arrow/array/builder_union.cc should add these lines:
#include <stddef.h> // for size_t
#include "arrow/array.h" // for ArrayData
#include "arrow/type.h" // for field, union_, DataType (ptr only), Field (...
namespace arrow { class Buffer; }
namespace arrow { class MemoryPool; }
/arrow/cpp/src/arrow/array/builder_union.cc should remove these lines:
- #include "arrow/util/logging.h" // lines 22-22
/arrow/cpp/src/arrow/buffer.h should add these lines:
namespace arrow { class MemoryPool; }
/arrow/cpp/src/arrow/buffer.h should remove these lines:
- #include <algorithm> // lines 21-21
- #include <type_traits> // lines 26-26
- #include "arrow/memory_pool.h" // lines 29-29
/arrow/cpp/src/arrow/buffer.cc should add these lines:
#include <algorithm> // for copy
/arrow/cpp/src/arrow/buffer.cc should remove these lines:
/arrow/cpp/src/arrow/pretty_print.cc should add these lines:
#include "arrow/vendored/string_view.hpp" // for operator<<
/arrow/cpp/src/arrow/pretty_print.cc should remove these lines:
/arrow/cpp/src/arrow/record_batch.cc should add these lines:
/arrow/cpp/src/arrow/record_batch.cc should remove these lines:
- #include <sstream> // lines 23-23
/arrow/cpp/src/arrow/scalar.h should add these lines:
#include <cstdint> // for int64_t, int32_t
namespace arrow { class Buffer; }
/arrow/cpp/src/arrow/scalar.h should remove these lines:
- #include "arrow/type_fwd.h" // lines 30-30
- #include "arrow/util/variant.h" // lines 33-33
/arrow/cpp/src/arrow/scalar.cc should add these lines:
namespace arrow { class Buffer; }
/arrow/cpp/src/arrow/scalar.cc should remove these lines:
- #include "arrow/buffer.h" // lines 23-23
/arrow/cpp/src/arrow/sparse_tensor.h should add these lines:
#include <cstdint> // for int64_t, uint8_t
#include "arrow/buffer.h" // for Buffer
#include "arrow/util/macros.h" // for ARROW_DISALLOW_COPY_AND_ASSIGN
#include "arrow/util/visibility.h" // for ARROW_EXPORT
namespace arrow { class DataType; }
namespace arrow { class Int64Type; }
/arrow/cpp/src/arrow/sparse_tensor.h should remove these lines:
/arrow/cpp/src/arrow/sparse_tensor.cc should add these lines:
#include "arrow/status.h" // for Status, RETURN_NOT_OK
#include "arrow/type.h" // for Type, DoubleType (ptr only), FloatTy...
/arrow/cpp/src/arrow/sparse_tensor.cc should remove these lines:
/arrow/cpp/src/arrow/status.cc should add these lines:
/arrow/cpp/src/arrow/status.cc should remove these lines:
- #include <sstream> // lines 16-16
/arrow/cpp/src/arrow/table.cc should add these lines:
/arrow/cpp/src/arrow/table.cc should remove these lines:
- #include <sstream> // lines 24-24
/arrow/cpp/src/arrow/tensor.h should add these lines:
#include <stddef.h> // for size_t
#include "arrow/status.h" // for Status
/arrow/cpp/src/arrow/tensor.h should remove these lines:
- namespace arrow { template <typename SparseIndexType> class SparseTensorImpl; } // lines 54-55
/arrow/cpp/src/arrow/tensor.cc should add these lines:
#include <algorithm> // for count_if
/arrow/cpp/src/arrow/tensor.cc should remove these lines:
- #include <cstddef> // lines 20-20
- #include "arrow/type_traits.h" // lines 31-31
/arrow/cpp/src/arrow/csv/converter.cc should add these lines:
#include "arrow/vendored/string_view.hpp" // for string_view
/arrow/cpp/src/arrow/csv/converter.cc should remove these lines:
- #include <cstring> // lines 20-20
- #include <sstream> // lines 21-21
/arrow/cpp/src/arrow/csv/parser.cc should add these lines:
/arrow/cpp/src/arrow/csv/parser.cc should remove these lines:
- #include <sstream> // lines 22-22
/arrow/cpp/src/arrow/csv/reader.cc should add these lines:
/arrow/cpp/src/arrow/csv/reader.cc should remove these lines:
- #include <sstream> // lines 24-24
/arrow/cpp/src/arrow/io/buffered.cc should add these lines:
/arrow/cpp/src/arrow/io/buffered.cc should remove these lines:
- #include "arrow/memory_pool.h" // lines 27-27
/arrow/cpp/src/arrow/io/compressed.h should add these lines:
#include <cstdint> // for int64_t
#include "arrow/util/macros.h" // for ARROW_DISALLOW_COPY_AND_ASSIGN
namespace arrow { class Buffer; }
/arrow/cpp/src/arrow/io/compressed.h should remove these lines:
- #include <string> // lines 24-24
/arrow/cpp/src/arrow/io/compressed.cc should add these lines:
/arrow/cpp/src/arrow/io/compressed.cc should remove these lines:
- #include <string> // lines 24-24
/arrow/cpp/src/arrow/testing/util.h should add these lines:
namespace arrow { class Array; }
namespace arrow { class MemoryPool; }
namespace arrow { class Schema; }
/arrow/cpp/src/arrow/testing/util.h should remove these lines:
- #include <cstdlib> // lines 22-22
- #include <iostream> // lines 24-24
- #include <sstream> // lines 28-28
- #include <string> // lines 29-29
- #include "arrow/array.h" // lines 33-33
- #include "arrow/builder.h" // lines 35-35
- #include "arrow/memory_pool.h" // lines 36-36
- #include "arrow/pretty_print.h" // lines 37-37
- #include "arrow/type.h" // lines 40-40
- #include "arrow/type_traits.h" // lines 41-41
- #include "arrow/util/bit-util.h" // lines 42-42
- #include "arrow/util/macros.h" // lines 44-44
- namespace arrow { class ChunkedArray; } // lines 49-49
- namespace arrow { class Column; } // lines 50-50
- namespace arrow { class Table; } // lines 51-51
/arrow/cpp/src/arrow/testing/util.cc should add these lines:
namespace arrow { class MemoryPool; }
/arrow/cpp/src/arrow/testing/util.cc should remove these lines:
- #include "arrow/table.h" // lines 26-26
/arrow/cpp/src/arrow/util/basic_decimal.h should add these lines:
/arrow/cpp/src/arrow/util/basic_decimal.h should remove these lines:
- #include <limits> // lines 22-22
- #include <string> // lines 23-23
- #include "arrow/util/macros.h" // lines 26-26
- #include "arrow/util/type_traits.h" // lines 27-27
/arrow/cpp/src/arrow/util/basic_decimal.cc should add these lines:
/arrow/cpp/src/arrow/util/basic_decimal.cc should remove these lines:
- #include <algorithm> // lines 20-20
- #include <climits> // lines 22-22
- #include <cstring> // lines 25-25
- #include <iomanip> // lines 26-26
- #include <string> // lines 28-28
/arrow/cpp/src/arrow/util/bit-util.h should add these lines:
/arrow/cpp/src/arrow/util/bit-util.h should remove these lines:
- #include <endian.h> // lines 27-27
- #include <limits> // lines 58-58
/arrow/cpp/src/arrow/util/decimal.h should add these lines:
#include "arrow/util/macros.h" // for NULLPTR
#include "arrow/util/type_traits.h" // for EnableIfIsOneOf
#include "arrow/util/visibility.h" // for ARROW_EXPORT
/arrow/cpp/src/arrow/util/decimal.h should remove these lines:
- #include <array> // lines 20-20
- #include <sstream> // lines 23-23
- #include <type_traits> // lines 25-25
/arrow/cpp/src/arrow/util/decimal.cc should add these lines:
/arrow/cpp/src/arrow/util/decimal.cc should remove these lines:
- #include <array> // lines 19-19
- #include "arrow/util/macros.h" // lines 34-34
/arrow/cpp/src/arrow/util/int-util.cc should add these lines:
#include "arrow/util/macros.h" // for ARROW_PREDICT_FALSE, ARROW_PREDICT_TRUE
/arrow/cpp/src/arrow/util/int-util.cc should remove these lines:
- #include <algorithm> // lines 20-20
- #include "arrow/util/bit-util.h" // lines 24-24
- #include "arrow/util/logging.h" // lines 25-25
/arrow/cpp/src/arrow/util/io-util.h should add these lines:
#include <stddef.h> // for size_t
#include <cstdint> // for int64_t, uint8_t
#include "arrow/util/visibility.h" // for ARROW_EXPORT
/arrow/cpp/src/arrow/util/io-util.h should remove these lines:
/arrow/cpp/src/arrow/util/io-util.cc should add these lines:
/arrow/cpp/src/arrow/util/io-util.cc should remove these lines:
- #include <sstream> // lines 31-31
/arrow/cpp/src/arrow/util/logging.h should add these lines:
namespace arrow { namespace util { class ArrowLog; } }
namespace arrow { namespace util { class ArrowLogBase; } }
/arrow/cpp/src/arrow/util/logging.h should remove these lines:
/arrow/cpp/src/arrow/util/key_value_metadata.cc should add these lines:
/arrow/cpp/src/arrow/util/key_value_metadata.cc should remove these lines:
- #include <cstddef> // lines 19-19
/arrow/cpp/src/arrow/util/memory.cc should add these lines:
#include <cxxabi.h> // for __forced_unwind
#include <string.h> // for memcpy, size_t
#include <future> // for future
#include <memory> // for shared_ptr
/arrow/cpp/src/arrow/util/memory.cc should remove these lines:
/arrow/cpp/src/arrow/util/trie.h should add these lines:
#include <iosfwd> // for ostream
/arrow/cpp/src/arrow/util/trie.h should remove these lines:
/arrow/cpp/src/arrow/util/utf8.h should add these lines:
/arrow/cpp/src/arrow/util/utf8.h should remove these lines:
- #include <memory> // lines 24-24
/arrow/cpp/src/arrow/vendored/datetime/tz.h should add these lines:
#include <cstdint> // for int32_t
#include <iterator> // for forward_iterator_tag
#include <ratio> // for ratio
#include "arrow/vendored/datetime/visibility.h" // for DATE_BUILD_DLL
/arrow/cpp/src/arrow/vendored/datetime/tz.h should remove these lines:
- #include <locale> // lines 131-131
- #include <sstream> // lines 135-135
/arrow/cpp/src/arrow/vendored/datetime/tz.cpp should add these lines:
#include <assert.h> // for assert
#include <atomic> // for atomic
#include <cerrno> // for errno
#include <chrono> // for operator<, seconds, operator-
#include <cstdint> // for int32_t, uint8_t, int64_t
#include <mutex> // for call_once, once_flag
#include <ratio> // for ratio
#include <stdexcept> // for runtime_error
#include <system_error> // for system_category, system_error
#include <type_traits> // for __success_type<>::type
#include <utility> // for move, swap
#include "arrow/vendored/datetime/date.h" // for sys_seconds, operator/
#include "arrow/vendored/datetime/tz.h" // for time_zone, sys_info, tzdb
/arrow/cpp/src/arrow/vendored/datetime/tz.cpp should remove these lines:
- #include <cctype> // lines 101-101
- #include <cstdlib> // lines 102-102
- #include <cstring> // lines 103-103
- #include <exception> // lines 104-104
- #include <iostream> // lines 106-106
- #include <sstream> // lines 112-112
- #include <tuple> // lines 114-114
- #include "visibility.h" // lines 34-34
/arrow/cpp/src/arrow/compute/kernels/aggregate.h should add these lines:
#include <cstdint> // for int64_t
#include <new> // for operator new
#include "arrow/status.h" // for Status
#include "arrow/util/visibility.h" // for ARROW_EXPORT
/arrow/cpp/src/arrow/compute/kernels/aggregate.h should remove these lines:
- namespace arrow { class Status; } // lines 27-27
- namespace arrow { namespace compute { struct Datum; } } // lines 32-32
/arrow/cpp/src/arrow/compute/kernels/aggregate.cc should add these lines:
#include "arrow/buffer.h" // for AllocateBuffer, Buffer
namespace arrow { class MemoryPool; }
/arrow/cpp/src/arrow/compute/kernels/aggregate.cc should remove these lines:
/arrow/cpp/src/arrow/compute/kernels/boolean.cc should add these lines:
#include <cstdint> // for int64_t
/arrow/cpp/src/arrow/compute/kernels/boolean.cc should remove these lines:
/arrow/cpp/src/arrow/compute/kernels/cast.cc should add these lines:
#include "arrow/vendored/string_view.hpp" // for basic_string_view
/arrow/cpp/src/arrow/compute/kernels/cast.cc should remove these lines:
- #include <sstream> // lines 25-25
/arrow/cpp/src/arrow/compute/kernels/hash.cc should add these lines:
/arrow/cpp/src/arrow/compute/kernels/hash.cc should remove these lines:
- #include <algorithm> // lines 20-20
- #include <cstring> // lines 22-22
- #include <sstream> // lines 25-25
- #include <string> // lines 26-26
- #include "arrow/buffer.h" // lines 32-32
- #include "arrow/util/bit-util.h" // lines 39-39
- #include "arrow/util/macros.h" // lines 43-43
/arrow/cpp/src/arrow/compute/kernels/sum.h should add these lines:
/arrow/cpp/src/arrow/compute/kernels/sum.h should remove these lines:
- namespace arrow { class DataType; } // lines 32-32
/arrow/cpp/src/arrow/compute/kernels/sum.cc should add these lines:
#include <stddef.h> // for size_t
#include <cstdint> // for int64_t, uint8_t
namespace arrow { struct Scalar; }
/arrow/cpp/src/arrow/compute/kernels/sum.cc should remove these lines:
- #include "arrow/visitor_inline.h" // lines 26-26
/arrow/cpp/src/arrow/compute/kernels/util-internal.h should add these lines:
/arrow/cpp/src/arrow/compute/kernels/util-internal.h should remove these lines:
- #include "arrow/buffer.h" // lines 25-25
/arrow/cpp/src/arrow/compute/kernels/util-internal.cc should add these lines:
#include "arrow/buffer.h" // for AllocateBitmap, Buffer
#include "arrow/type_fwd.h" // for null
namespace arrow { class MemoryPool; }
/arrow/cpp/src/arrow/compute/kernels/util-internal.cc should remove these lines:
/arrow/cpp/src/arrow/ipc/dictionary.cc should add these lines:
/arrow/cpp/src/arrow/ipc/dictionary.cc should remove these lines:
- #include <sstream> // lines 22-22
/arrow/cpp/src/arrow/ipc/json.cc should add these lines:
#include <cstdint> // for int64_t
/arrow/cpp/src/arrow/ipc/json.cc should remove these lines:
- #include "arrow/type.h" // lines 30-30
/arrow/cpp/src/arrow/ipc/json-internal.h should add these lines:
namespace arrow { class Array; }
namespace arrow { class DataType; }
namespace arrow { class MemoryPool; }
namespace arrow { class RecordBatch; }
namespace arrow { class Schema; }
/arrow/cpp/src/arrow/ipc/json-internal.h should remove these lines:
- #include <sstream> // lines 34-34
/arrow/cpp/src/arrow/ipc/json-internal.cc should add these lines:
#include <rapidjson/document.h> // for GenericMemberIterator, Gen...
#include <rapidjson/error/../rapidjson.h> // for SizeType
/arrow/cpp/src/arrow/ipc/json-internal.cc should remove these lines:
- #include <sstream> // lines 23-23
/arrow/cpp/src/arrow/ipc/json-simple.cc should add these lines:
#include <rapidjson/error/../rapidjson.h> // for Type
#include <rapidjson/reader.h> // for kParseFullPrecisionFlag
#include <stddef.h> // for size_t
#include "arrow/type.h" // for Type, Int64Type, DataType
/arrow/cpp/src/arrow/ipc/json-simple.cc should remove these lines:
- #include "arrow/array.h" // lines 24-24
- #include "arrow/util/logging.h" // lines 31-31
/arrow/cpp/src/arrow/ipc/message.cc should add these lines:
#include <stddef.h> // for size_t
/arrow/cpp/src/arrow/ipc/message.cc should remove these lines:
- #include <sstream> // lines 23-23
/arrow/cpp/src/arrow/ipc/metadata-internal.h should add these lines:
/arrow/cpp/src/arrow/ipc/metadata-internal.h should remove these lines:
- namespace arrow { class SparseTensor; } // lines 44-44
- namespace arrow { namespace ipc { class DictionaryMemo; } } // lines 56-56
/arrow/cpp/src/arrow/ipc/metadata-internal.cc should add these lines:
#include <flatbuffers/base.h> // for uoffset_t
#include <unordered_map> // for unordered_map<>::mapped_type
/arrow/cpp/src/arrow/ipc/metadata-internal.cc should remove these lines:
- #include "arrow/util/logging.h" // lines 39-39
/arrow/cpp/src/arrow/ipc/reader.cc should add these lines:
#include <unordered_map> // for _Node_const_iterator, opera...
#include "arrow/ipc/Tensor_generated.h" // for SparseTensor, SparseMatrixI...
#include "arrow/util/bit-util.h" // for IsMultipleOf8
#include "arrow/util/macros.h" // for NULLPTR
/arrow/cpp/src/arrow/ipc/reader.cc should remove these lines:
- #include <sstream> // lines 22-22
/arrow/cpp/src/arrow/ipc/writer.cc should add these lines:
#include <string> // for operator<<
#include <utility> // for pair
/arrow/cpp/src/arrow/ipc/writer.cc should remove these lines:
/arrow/cpp/src/arrow/flight/client.h should add these lines:
namespace arrow { class MemoryPool; }
namespace arrow { namespace flight { class FlightInfo; } }
namespace arrow { namespace flight { class FlightListing; } }
namespace arrow { namespace flight { class ResultStream; } }
namespace arrow { namespace flight { struct Action; } }
namespace arrow { namespace flight { struct ActionType; } }
namespace arrow { namespace flight { struct Criteria; } }
namespace arrow { namespace flight { struct FlightDescriptor; } }
namespace arrow { namespace flight { struct Ticket; } }
/arrow/cpp/src/arrow/flight/client.h should remove these lines:
- #include "arrow/flight/types.h" // lines 31-31
- namespace arrow { namespace flight { class FlightPutWriter; } } // lines 41-41
/arrow/cpp/src/arrow/flight/client.cc should add these lines:
#include <grpc/impl/codegen/grpc_types.h> // for GRPC_ARG_INITIAL_RECONN...
#include <iosfwd> // for stringstream
#include "arrow/flight/customize_protobuf.h" // for FlightData, protocol
#include "arrow/flight/types.h" // for Action (ptr only), Crit...
namespace arrow { class Buffer; }
namespace arrow { class MemoryPool; }
/arrow/cpp/src/arrow/flight/client.cc should remove these lines:
- #include "arrow/flight/protocol-internal.h" // lines 19-19
- namespace arrow { namespace flight { class FlightClient; } } // lines 109-109
/arrow/cpp/src/arrow/flight/internal.h should add these lines:
#include <grpcpp/impl/codegen/status.h> // for Status
#include "arrow/flight/customize_protobuf.h" // for protocol
namespace arrow { namespace flight { namespace protocol { class FlightData; } } }
/arrow/cpp/src/arrow/flight/internal.h should remove these lines:
- #include <grpcpp/grpcpp.h> // lines 23-23
- #include <memory> // lines 20-20
- #include "arrow/buffer.h" // lines 25-25
- #include "arrow/flight/protocol-internal.h" // lines 29-29
- #include "arrow/ipc/writer.h" // lines 26-26
/arrow/cpp/src/arrow/flight/internal.cc should add these lines:
#include <grpcpp/impl/codegen/status_code_enum.h> // for StatusCode, UNIMPL...
#include <stddef.h> // for size_t
#include <memory> // for shared_ptr, __shar...
#include "arrow/buffer.h" // for Buffer
#include "arrow/ipc/writer.h" // for SerializeSchema
#include "arrow/memory_pool.h" // for default_memory_pool
#include "arrow/status.h" // for Status, RETURN_NOT_OK
namespace arrow { namespace flight { namespace protocol { class FlightData; } } }
/arrow/cpp/src/arrow/flight/internal.cc should remove these lines:
/arrow/cpp/src/arrow/flight/protocol-internal.h should add these lines:
/arrow/cpp/src/arrow/flight/protocol-internal.h should remove these lines:
- #include "arrow/flight/customize_protobuf.h" // lines 20-20
/arrow/cpp/src/arrow/flight/serialization-internal.h should add these lines:
#include <grpcpp/impl/codegen/status.h> // for Status
#include <cstdint> // for int32_t, int64_t
#include <limits> // for numeric_limits
#include "arrow/flight/customize_protobuf.h" // for IpcPayload, protocol
namespace arrow { namespace ipc { namespace internal { struct IpcPayload; } } }
namespace google { namespace protobuf { namespace internal { class WireFormatLite; } } }
namespace google { namespace protobuf { namespace io { class CodedInputStream; } } }
namespace google { namespace protobuf { namespace io { class CodedInputStream; } } }
namespace google { namespace protobuf { namespace io { class CodedOutputStream; } } }
namespace grpc { class ByteBuffer; }
/arrow/cpp/src/arrow/flight/serialization-internal.h should remove these lines:
- #include "arrow/flight/protocol-internal.h" // lines 24-24
/arrow/cpp/src/arrow/flight/serialization-internal.cc should add these lines:
#include <google/protobuf/io/coded_stream.h> // for CodedInputStream
#include <google/protobuf/wire_format_lite.h> // for WireFormatLite
#include <google/protobuf/wire_format_lite_inl.h> // for WireFormatLite::Le...
#include <grpc/impl/codegen/byte_buffer.h> // for grpc_byte_buffer_r...
#include <grpc/impl/codegen/byte_buffer_reader.h> // for grpc_byte_buffer_r...
#include <grpc/impl/codegen/compression_types.h> // for GRPC_COMPRESS_NONE
#include <grpc/impl/codegen/grpc_types.h> // for grpc_byte_buffer
#include <grpc/impl/codegen/slice.h> // for grpc_slice, grpc_s...
#include <grpcpp/impl/codegen/byte_buffer.h> // for ByteBuffer
#include <grpcpp/impl/codegen/slice.h> // for Slice
#include <grpcpp/impl/codegen/status_code_enum.h> // for StatusCode, INTERNAL
#include <stddef.h> // for size_t
namespace arrow { namespace ipc { namespace internal { struct IpcPayload; } } }
/arrow/cpp/src/arrow/flight/serialization-internal.cc should remove these lines:
/arrow/cpp/src/arrow/flight/server.h should add these lines:
namespace arrow { class Schema; }
namespace arrow { namespace flight { class FlightInfo; } }
namespace arrow { namespace flight { class FlightListing; } }
namespace arrow { namespace flight { class ResultStream; } }
namespace arrow { namespace flight { struct Action; } }
namespace arrow { namespace flight { struct ActionType; } }
namespace arrow { namespace flight { struct Criteria; } }
namespace arrow { namespace flight { struct FlightDescriptor; } }
namespace arrow { namespace flight { struct Ticket; } }
/arrow/cpp/src/arrow/flight/server.h should remove these lines:
- #include <string> // lines 24-24
- #include <utility> // lines 25-25
- #include "arrow/flight/types.h" // lines 30-30
- #include "arrow/ipc/dictionary.h" // lines 31-31
- namespace arrow { class RecordBatchReader; } // lines 37-37
- namespace arrow { namespace io { class OutputStream; } } // lines 50-50
/arrow/cpp/src/arrow/flight/server.cc should add these lines:
#include <grpcpp/impl/codegen/status.h> // for Status, Status::OK
#include <grpcpp/impl/codegen/status_code_enum.h> // for INVALID_ARGUMENT
#include <string> // for string
#include "arrow/flight/customize_protobuf.h" // for FlightData, protocol
#include "arrow/flight/types.h" // for FlightDescriptor
#include "arrow/ipc/dictionary.h" // for DictionaryMemo
#include "arrow/status.h" // for Status, RETURN_NOT_OK
namespace arrow { class Schema; }
/arrow/cpp/src/arrow/flight/server.cc should remove these lines:
- #include "arrow/flight/protocol-internal.h" // lines 19-19
/arrow/cpp/src/arrow/flight/types.h should add these lines:
#include <stddef.h> // for size_t
/arrow/cpp/src/arrow/flight/types.h should remove these lines:
/arrow/cpp/src/arrow/flight/types.cc should add these lines:
#include "arrow/vendored/string_view.hpp" // for string_view
/arrow/cpp/src/arrow/flight/types.cc should remove these lines:
- #include <sstream> // lines 21-21
- #include <string> // lines 22-22
/arrow/cpp/src/arrow/python/arrow_to_pandas.h should add these lines:
#include <object.h> // for PyObject
/arrow/cpp/src/arrow/python/arrow_to_pandas.h should remove these lines:
- #include "arrow/python/platform.h" // lines 24-24
- namespace arrow { class DataType; } // lines 37-37
/arrow/cpp/src/arrow/python/arrow_to_pandas.cc should add these lines:
#include <abstract.h> // for PyObject_GetItem
#include <boolobject.h> // for Py_False, Py_True
#include <bytesobject.h> // for PyBytes_FromStringAndSize
#include <cxxabi.h> // for __forced_unwind
#include <datetime.h> // for PyDateTime_IMPORT
#include <dictobject.h> // for PyDict_SetItemString, PyDict...
#include <listobject.h> // for PyList_Append, PyList_New
#include <longobject.h> // for PyLong_FromLongLong, PyLong_...
#include <numpy/__multiarray_api.h> // for PyArray_NewFromDescr, PyArra...
#include <numpy/halffloat.h> // for NPY_HALF_NAN
#include <numpy/ndarrayobject.h> // for PyArray_SimpleNew, PyArray_S...
#include <numpy/ndarraytypes.h> // for PyArray_DATA, PyArrayObject
#include <numpy/npy_common.h> // for npy_half, npy_intp, NPY_FLOAT64
#include <pycapsule.h> // for PyCapsule_New, PyCapsule_Get...
#include <pyerrors.h> // for PyErr_Clear
#include <pyport.h> // for Py_ssize_t
#include <sliceobject.h> // for PySlice_New
#include <string.h> // for memcpy
#include <unicodeobject.h> // for PyUnicode_FromStringAndSize
#include <type_traits> // for enable_if, is_base_of, is_si...
#include <utility> // for pair
namespace arrow { namespace py { class ObjectBlock; } }
/arrow/cpp/src/arrow/python/arrow_to_pandas.cc should remove these lines:
- #include <sstream> // lines 27-27
- #include "arrow/python/config.h" // lines 49-49
- #include "arrow/python/numpy-internal.h" // lines 52-52
- #include "arrow/python/numpy_convert.h" // lines 53-53
- #include "arrow/python/numpy_interop.h" // lines 20-20
- #include "arrow/python/python_to_arrow.h" // lines 54-54
/arrow/cpp/src/arrow/python/benchmark.h should add these lines:
#include <object.h> // for PyObject
/arrow/cpp/src/arrow/python/benchmark.h should remove these lines:
- #include "arrow/python/platform.h" // lines 21-21
/arrow/cpp/src/arrow/python/benchmark.cc should add these lines:
#include <listobject.h> // for PyList_CheckExact, PyList_GET_ITEM
#include <pyerrors.h> // for PyErr_SetString, PyExc_TypeError
#include <pyport.h> // for Py_ssize_t
/arrow/cpp/src/arrow/python/benchmark.cc should remove these lines:
/arrow/cpp/src/arrow/python/common.h should add these lines:
#include <bytearrayobject.h> // for PyByteArray_AS_STRING, PyByteAr...
#include <bytesobject.h> // for PyBytes_AS_STRING, PyBytes_Check
#include <object.h> // for PyObject, _typeobject, Py_TYPE
#include <patchlevel.h> // for PY_MAJOR_VERSION
#include <pyerrors.h> // for PyErr_Occurred, PyErr_Clear
#include <pyport.h> // for Py_ssize_t
#include <pystate.h> // for PyGILState_Ensure, PyGILState_R...
#include <unicodeobject.h> // for PyUnicode_AsUTF8AndSize, PyUnic...
#include "arrow/status.h" // for Status, StatusCode, ARROW_RETUR...
/arrow/cpp/src/arrow/python/common.h should remove these lines:
- #include <sstream> // lines 22-22
- #include <string> // lines 23-23
- #include <utility> // lines 24-24
- #include "arrow/python/config.h" // lines 26-26
/arrow/cpp/src/arrow/python/common.cc should add these lines:
#include <abstract.h> // for PyBuffer_Release, PyObject_GetBuffer
#include <cstdint> // for uint8_t
#include <string> // for string
/arrow/cpp/src/arrow/python/common.cc should remove these lines:
- #include <cstdlib> // lines 20-20
- #include <sstream> // lines 22-22
/arrow/cpp/src/arrow/python/config.h should add these lines:
#include <object.h> // for PyObject
#include <patchlevel.h> // for PY_MAJOR_VERSION
#include <unicodeobject.h> // for PyUnicode_Check
/arrow/cpp/src/arrow/python/config.h should remove these lines:
- #include "arrow/python/numpy_interop.h" // lines 23-23
- #include "arrow/python/platform.h" // lines 21-21
/arrow/cpp/src/arrow/python/config.cc should add these lines:
/arrow/cpp/src/arrow/python/config.cc should remove these lines:
- #include "arrow/python/platform.h" // lines 18-18
/arrow/cpp/src/arrow/python/decimal.h should add these lines:
#include <object.h> // for PyObject
#include <cstdint> // for int32_t
#include "arrow/status.h" // for Status
namespace arrow { class DecimalType; }
/arrow/cpp/src/arrow/python/decimal.h should remove these lines:
- #include "arrow/type.h" // lines 24-24
/arrow/cpp/src/arrow/python/decimal.cc should add these lines:
#include <abstract.h> // for PyObject_CallMethod, PyObject_Call...
#include <longobject.h> // for PyLong_AsLong
#include <stdlib.h> // for abs
#include <tupleobject.h> // for PyTuple_Size, PyTuple_Check
#include "arrow/type.h" // for DecimalType
#include "arrow/util/macros.h" // for ARROW_PREDICT_FALSE
/arrow/cpp/src/arrow/python/decimal.cc should remove these lines:
- #include <arrow/api.h> // lines 27-27
/arrow/cpp/src/arrow/python/deserialize.h should add these lines:
namespace arrow { class Buffer; }
/arrow/cpp/src/arrow/python/deserialize.h should remove these lines:
- #include <cstdint> // lines 21-21
- #include <vector> // lines 23-23
- namespace arrow { class RecordBatch; } // lines 31-31
/arrow/cpp/src/arrow/python/deserialize.cc should add these lines:
#include <boolobject.h> // for PyBool_FromLong, Py_False
#include <bytesobject.h> // for PyBytes_FromStringAndSize
#include <datetime.h> // for PyDateTime_IMPORT
#include <dictobject.h> // for PyDict_Contains, PyDict_New
#include <floatobject.h> // for PyFloat_FromDouble
#include <listobject.h> // for PyList_GET_ITEM, PyList_New
#include <longobject.h> // for PyLong_FromSsize_t
#include <object.h> // for PyObject, PyObject_GetAttr...
#include <patchlevel.h> // for PY_MAJOR_VERSION
#include <pyport.h> // for Py_ssize_t
#include <setobject.h> // for PySet_Add, PySet_New
#include <stddef.h> // for NULL
#include <tupleobject.h> // for PyTuple_New, PyTuple_SET_ITEM
#include <unicodeobject.h> // for PyUnicode_FromString, PyUn...
#include "arrow/ipc/message.h" // for AlignStream, Message
#include "arrow/record_batch.h" // for RecordBatch, RecordBatchRe...
#include "arrow/type.h" // for Int32Array, Date64Array
#include "arrow/vendored/string_view.hpp" // for basic_string_view
namespace arrow { class Buffer; }
/arrow/cpp/src/arrow/python/deserialize.cc should remove these lines:
- #include <numpy/arrayobject.h> // lines 28-28
- #include <numpy/arrayscalars.h> // lines 29-29
- #include "arrow/python/numpy_interop.h" // lines 20-20
- #include "arrow/table.h" // lines 36-36
/arrow/cpp/src/arrow/python/helpers.h should add these lines:
#include <bytearrayobject.h> // for PyByteArray_Check
#include <bytesobject.h> // for PyBytes_Check
#include <longobject.h> // for PyLong_Check
#include <numpy/npy_common.h> // for npy_half
#include <object.h> // for PyObject
#include <pyport.h> // for Py_ssize_t
#include <cstdint> // for int32_t
#include "arrow/status.h" // for Status
/arrow/cpp/src/arrow/python/helpers.h should remove these lines:
- #include <numpy/halffloat.h> // lines 28-28
- #include <utility> // lines 26-26
- #include "arrow/python/platform.h" // lines 21-21
- #include "arrow/util/macros.h" // lines 32-32
/arrow/cpp/src/arrow/python/helpers.cc should add these lines:
#include <abstract.h> // for PyNumber_Long
#include <boolobject.h> // for PyBool_Check
#include <floatobject.h> // for PyFloat_AsDouble, PyFloat_Check
#include <import.h> // for PyImport_ImportModule
#include <numpy/__multiarray_api.h> // for PyHalfArrType_Type, PyIntArr...
#include <numpy/ndarrayobject.h> // for PyArray_IsScalar
#include <patchlevel.h> // for PY_MAJOR_VERSION
#include <stddef.h> // for NULL
#include <unicodeobject.h> // for PyUnicode_AsEncodedString
#include <cmath> // for isnan
#include "arrow/util/macros.h" // for ARROW_PREDICT_FALSE
/arrow/cpp/src/arrow/python/helpers.cc should remove these lines:
- #include <arrow/api.h> // lines 33-33
- #include <sstream> // lines 24-24
- #include <typeinfo> // lines 26-26
/arrow/cpp/src/arrow/python/init.h should add these lines:
/arrow/cpp/src/arrow/python/init.h should remove these lines:
- #include "arrow/python/platform.h" // lines 21-21
/arrow/cpp/src/arrow/python/io.h should add these lines:
#include <object.h> // for PyObject, Py_INCREF
#include <cstdint> // for int64_t, uint8_t
#include "arrow/buffer.h" // for Buffer
#include "arrow/status.h" // for Status
#include "arrow/util/visibility.h" // for ARROW_NO_EXPORT
/arrow/cpp/src/arrow/python/io.h should remove these lines:
- #include "arrow/io/memory.h" // lines 24-24
- #include "arrow/python/config.h" // lines 27-27
- namespace arrow { class MemoryPool; } // lines 33-33
/arrow/cpp/src/arrow/python/io.cc should add these lines:
#include <abstract.h> // for PyObject_CallMethod
#include <bytesobject.h> // for PyBytes_FromStringAndSize, PyBytes_...
#include <longobject.h> // for PyLong_AsLongLong
#include <pyerrors.h> // for PyErr_WriteUnraisable
#include <pyport.h> // for Py_ssize_t
#include <string.h> // for memcpy
/arrow/cpp/src/arrow/python/io.cc should remove these lines:
- #include <string> // lines 24-24
- #include "arrow/io/memory.h" // lines 26-26
- #include "arrow/memory_pool.h" // lines 27-27
/arrow/cpp/src/arrow/python/numpy_convert.h should add these lines:
#include <numpy/ndarraytypes.h> // for PyArray_Descr
#include <object.h> // for PyObject
/arrow/cpp/src/arrow/python/numpy_convert.h should remove these lines:
- #include <string> // lines 27-27
- #include "arrow/python/platform.h" // lines 24-24
/arrow/cpp/src/arrow/python/numpy_convert.cc should add these lines:
#include <numpy/__multiarray_api.h> // for PyArray_DescrNewFromType
#include <numpy/ndarrayobject.h> // for PyArray_Check, PyArray_Descr...
#include <numpy/npy_common.h> // for npy_intp, NPY_FLOAT16, NPY_F...
#include "arrow/status.h" // for Status, RETURN_NOT_OK
/arrow/cpp/src/arrow/python/numpy_convert.cc should remove these lines:
- #include <sstream> // lines 24-24
- #include <string> // lines 25-25
- #include "arrow/python/type_traits.h" // lines 34-34
/arrow/cpp/src/arrow/python/numpy_to_arrow.h should add these lines:
#include <object.h> // for PyObject
namespace arrow { namespace compute { struct CastOptions; } }
/arrow/cpp/src/arrow/python/numpy_to_arrow.h should remove these lines:
- #include "arrow/compute/kernels/cast.h" // lines 27-27
- #include "arrow/python/platform.h" // lines 23-23
- namespace arrow { class Array; } // lines 32-32
/arrow/cpp/src/arrow/python/numpy_to_arrow.cc should add these lines:
#include <bytesobject.h> // for PyBytes_AS_STRING, PyBytes...
#include <dictobject.h> // for PyDict_GetItemString, PyDi...
#include <longobject.h> // for PyLong_AsLong
#include <numpy/__multiarray_api.h> // for PyArray_GetField
#include <numpy/ndarrayobject.h> // for PyArray_SIZE, PyArray_Check
#include <numpy/ndarraytypes.h> // for PyArray_DATA, PyArray_Descr
#include <numpy/npy_common.h> // for npy_intp
#include <pyerrors.h> // for PyErr_Clear
#include <tupleobject.h> // for PyTuple_GET_ITEM
#include <unicodeobject.h> // for PyUnicode_AsUTF8String
#include <type_traits> // for enable_if, is_base_of, is_...
#include "arrow/array/builder_binary.h" // for StringBuilder, FixedSizeBi...
#include "arrow/buffer.h" // for AllocateBuffer, Buffer
#include "arrow/type.h" // for DataType, Field, fixed_siz...
/arrow/cpp/src/arrow/python/numpy_to_arrow.cc should remove these lines:
- #include <cmath> // lines 26-26
- #include <limits> // lines 29-29
- #include <sstream> // lines 31-31
- #include <utility> // lines 33-33
- #include "arrow/python/config.h" // lines 53-53
- #include "arrow/python/helpers.h" // lines 54-54
- #include "arrow/python/iterators.h" // lines 55-55
- #include "arrow/python/numpy_interop.h" // lines 23-23
- #include "arrow/python/util/datetime.h" // lines 60-60
- #include "arrow/type_fwd.h" // lines 39-39
- #include "arrow/type_traits.h" // lines 40-40
/arrow/cpp/src/arrow/python/python_to_arrow.h should add these lines:
#include <object.h> // for PyObject
#include "arrow/memory_pool.h" // for default_memory_pool, MemoryPool...
namespace arrow { class ChunkedArray; }
namespace arrow { class DataType; }
/arrow/cpp/src/arrow/python/python_to_arrow.h should remove these lines:
- #include "arrow/python/common.h" // lines 33-33
- #include "arrow/python/platform.h" // lines 24-24
- #include "arrow/type.h" // lines 30-30
- namespace arrow { class Array; } // lines 37-37
/arrow/cpp/src/arrow/python/python_to_arrow.cc should add these lines:
#include <abstract.h> // for PySequence_Size, PyIter_Next
#include <boolobject.h> // for Py_False, Py_True
#include <dictobject.h> // for PyDict_GetItem, PyDict_Check
#include <floatobject.h> // for PyFloat_AsDouble, PyFloat_A...
#include <listobject.h> // for PyList_New, PyList_SetSlice
#include <numpy/__multiarray_api.h> // for PyArray_CheckAnyScalarExact
#include <numpy/ndarrayobject.h> // for PyArray_Check, PyArray_SIZE
#include <numpy/ndarraytypes.h> // for PyArray_DESCR, PyArray_Descr
#include <numpy/npy_common.h> // for NPY_FLOAT16, NPY_INT16, NPY...
#include <pyport.h> // for Py_ssize_t
#include <stddef.h> // for NULL, size_t
#include <tupleobject.h> // for PyTuple_Check, PyTuple_GET_...
#include <unicodeobject.h> // for PyUnicode_FromStringAndSize
#include "arrow/python/common.h" // for PyBytesView, RETURN_IF_PYERROR
#include "arrow/python/numpy-internal.h" // for PyFloatScalar_Check, PyIntS...
/arrow/cpp/src/arrow/python/python_to_arrow.cc should remove these lines:
- #include <limits> // lines 24-24
- #include <map> // lines 25-25
/arrow/cpp/src/arrow/python/pyarrow.h should add these lines:
#include <object.h> // for PyObject
/arrow/cpp/src/arrow/python/pyarrow.h should remove these lines:
- #include "arrow/python/platform.h" // lines 21-21
/arrow/cpp/src/arrow/python/pyarrow.cc should add these lines:
#include "arrow/status.h" // for Status
/arrow/cpp/src/arrow/python/pyarrow.cc should remove these lines:
- #include "arrow/array.h" // lines 22-22
- #include "arrow/table.h" // lines 23-23
- #include "arrow/tensor.h" // lines 24-24
- #include "arrow/type.h" // lines 25-25
/arrow/cpp/src/arrow/python/serialize.h should add these lines:
#include <cstdint> // for int64_t
/arrow/cpp/src/arrow/python/serialize.h should remove these lines:
/arrow/cpp/src/arrow/python/serialize.cc should add these lines:
#include <abstract.h> // for PyObject_CallMethodObjArgs
#include <boolobject.h> // for PyBool_Check, Py_True
#include <bytesobject.h> // for PyBytes_AS_STRING, PyBytes_C...
#include <datetime.h> // for PyDateTime_DateTime, PyDateT...
#include <dictobject.h> // for PyDict_SetItemString, PyDict...
#include <floatobject.h> // for PyFloat_AS_DOUBLE, PyFloat_C...
#include <listobject.h> // for PyList_Append, PyList_New
#include <longobject.h> // for PyLong_FromSize_t, PyLong_As...
#include <numpy/__multiarray_api.h> // for PyArray_DescrFromScalar, PyB...
#include <numpy/ndarrayobject.h> // for PyArray_IsScalar, PyArray_Ch...
#include <numpy/ndarraytypes.h> // for PyArrayObject, PyArray_TYPE
#include <numpy/npy_common.h> // for npy_half, NPY_INT16, NPY_INT32
#include <object.h> // for PyObject, _typeobject, Py_DE...
#include <patchlevel.h> // for PY_MAJOR_VERSION
#include <pyport.h> // for Py_ssize_t
#include <setobject.h> // for PySet_Check
#include <stddef.h> // for NULL
#include <tupleobject.h> // for PyTuple_CheckExact
#include <unicodeobject.h> // for PyUnicode_FromString, PyUnic...
#include "arrow/buffer.h" // for Buffer
#include "arrow/ipc/message.h" // for AlignStream, Message
#include "arrow/type.h" // for Field, int32, int8, schema
#include "arrow/util/checked_cast.h" // for checked_cast
/arrow/cpp/src/arrow/python/serialize.cc should remove these lines:
- #include <numpy/arrayobject.h> // lines 28-28
- #include <sstream> // lines 24-24
- #include "arrow/python/numpy_interop.h" // lines 19-19
- #include "arrow/python/platform.h" // lines 47-47
/arrow/cpp/src/parquet/arrow/reader.cc should add these lines:
#include <cxxabi.h> // for __forced_unwind
/arrow/cpp/src/parquet/arrow/reader.cc should remove these lines:
/arrow/cpp/src/parquet/column_reader.h should add these lines:
namespace parquet { class InputStream; }
/arrow/cpp/src/parquet/column_reader.h should remove these lines:
- #include <algorithm> // lines 20-20
- #include <unordered_map> // lines 23-23
- #include <utility> // lines 24-24
- #include "arrow/buffer.h" // lines 26-26
- #include "arrow/util/macros.h" // lines 29-29
- #include "parquet/encoding.h" // lines 31-31
- #include "parquet/util/memory.h" // lines 35-35
- namespace parquet { class DictionaryPage; } // lines 52-52
/arrow/cpp/src/parquet/column_reader.cc should add these lines:
#include <bits/exception.h> // for exception
#include "arrow/util/macros.h" // for NULLPTR
#include "parquet/util/memory.h" // for AllocateBuffer, ResizableBu...
/arrow/cpp/src/parquet/column_reader.cc should remove these lines:
- #include <exception> // lines 21-21
- #include "arrow/util/compression.h" // lines 28-28
- #include "parquet/thrift.h" // lines 36-36
/arrow/cpp/src/parquet/column_writer.h should add these lines:
namespace parquet { class ColumnDescriptor; }
namespace parquet { class CompressedDataPage; }
namespace parquet { class DictionaryPage; }
/arrow/cpp/src/parquet/column_writer.h should remove these lines:
- #include <vector> // lines 22-22
- #include "parquet/column_page.h" // lines 26-26
- #include "parquet/encoding.h" // lines 27-27
- #include "parquet/schema.h" // lines 29-29
- #include "parquet/statistics.h" // lines 30-30
/arrow/cpp/src/parquet/column_writer.cc should add these lines:
#include <string.h> // for memcpy
#include "arrow/buffer.h" // for Buffer, ResizableBuffer
#include "parquet/column_page.h" // for CompressedDataPage, Diction...
#include "parquet/encoding.h" // for EncodingTraits
#include "parquet/schema.h" // for ColumnDescriptor, Node, Nod...
/arrow/cpp/src/parquet/column_writer.cc should remove these lines:
- #include <algorithm> // lines 20-20
- #include <utility> // lines 23-23
- #include "arrow/status.h" // lines 25-25
- #include "arrow/util/compression.h" // lines 29-29
- #include "parquet/thrift.h" // lines 36-36
/arrow/cpp/src/parquet/file_reader.h should add these lines:
/arrow/cpp/src/parquet/file_reader.h should remove these lines:
- #include "parquet/metadata.h" // lines 29-29
/arrow/cpp/src/parquet/file_writer.h should add these lines:
/arrow/cpp/src/parquet/file_writer.h should remove these lines:
- #include <ostream> // lines 23-23
- #include "parquet/exception.h" // lines 27-27
- namespace arrow { class MemoryPool; } // lines 35-35
/arrow/cpp/src/parquet/file_writer.cc should add these lines:
#include <stddef.h> // for size_t
#include <ostream> // for operator<<, basic_ostream, basic_...
#include "parquet/exception.h" // for ParquetException
/arrow/cpp/src/parquet/file_writer.cc should remove these lines:
/arrow/cpp/src/parquet/metadata.cc should add these lines:
/arrow/cpp/src/parquet/metadata.cc should remove these lines:
- #include <algorithm> // lines 18-18
- #include <utility> // lines 21-21
/arrow/cpp/src/parquet/schema.h should add these lines:
/arrow/cpp/src/parquet/schema.h should remove these lines:
- namespace parquet { namespace schema { class GroupNode; } } // lines 104-104
/arrow/cpp/src/parquet/schema.cc should add these lines:
namespace parquet { namespace format { class SchemaElement; } }
/arrow/cpp/src/parquet/schema.cc should remove these lines:
- #include <algorithm> // lines 21-21
- #include <utility> // lines 25-25
- #include "parquet/thrift.h" // lines 30-30
/arrow/cpp/src/parquet/statistics.h should add these lines:
#include <string.h> // for memcpy, size_t
#include <functional> // for ref
#include "arrow/memory_pool.h" // for default_memory_pool, MemoryPool...
#include "arrow/util/macros.h" // for NULLPTR
#include "parquet/exception.h" // for PARQUET_THROW_NOT_OK
namespace parquet { template <typename DType> class CompareDefault; }
/arrow/cpp/src/parquet/statistics.h should remove these lines:
- #include "parquet/util/comparison.h" // lines 28-28
- #include "parquet/util/macros.h" // lines 29-29
- namespace parquet { template <typename DType> class TypedRowGroupStatistics; } // lines 85-86
/arrow/cpp/src/parquet/statistics.cc should add these lines:
#include "arrow/util/bit-util.h" // for BitmapReader
#include "parquet/util/comparison.h" // for Comparator, CompareDefault (ptr...
/arrow/cpp/src/parquet/statistics.cc should remove these lines:
- #include <cstring> // lines 20-20
- #include "parquet/exception.h" // lines 26-26
/arrow/cpp/src/parquet/types.h should add these lines:
/arrow/cpp/src/parquet/types.h should remove these lines:
- #include "parquet/util/macros.h" // lines 30-30
/arrow/cpp/src/parquet/types.cc should add these lines:
/arrow/cpp/src/parquet/types.cc should remove these lines:
- #include <cstring> // lines 19-19
/arrow/cpp/src/parquet/util/comparison.h should add these lines:
#include <cstdint> // for int8_t, uint32_t, int32_t, int64_t
namespace parquet { class ColumnDescriptor; }
/arrow/cpp/src/parquet/util/comparison.h should remove these lines:
- #include "parquet/exception.h" // lines 24-24
- #include "parquet/schema.h" // lines 25-25
/arrow/cpp/src/parquet/util/memory.h should add these lines:
/arrow/cpp/src/parquet/util/memory.h should remove these lines:
- #include <atomic> // lines 21-21
- #include <cstdlib> // lines 23-23
- #include <cstring> // lines 24-24
- #include <string> // lines 26-26
- #include <vector> // lines 27-27
- #include "arrow/io/memory.h" // lines 31-31
- #include "parquet/exception.h" // lines 34-34
/arrow/cpp/src/parquet/util/memory.cc should add these lines:
#include <cstring> // for memcpy
/arrow/cpp/src/parquet/util/memory.cc should remove these lines:
- #include <cstdio> // lines 22-22
- #include <string> // lines 23-23
- #include <utility> // lines 24-24
- #include "arrow/util/bit-util.h" // lines 27-27
/arrow/cpp/src/gandiva/annotator.h should add these lines:
namespace arrow { class RecordBatch; }
namespace arrow { struct ArrayData; }
namespace gandiva { class EvalBatch; }
namespace gandiva { class FieldDescriptor; }
/arrow/cpp/src/gandiva/annotator.h should remove these lines:
- #include <list> // lines 21-21
- #include "gandiva/eval_batch.h" // lines 27-27
- #include "gandiva/logging.h" // lines 29-29
/arrow/cpp/src/gandiva/annotator.cc should add these lines:
#include <cstdint> // for uint8_t
#include <utility> // for pair
#include "arrow/array.h" // for ArrayData, Array
#include "arrow/buffer.h" // for Buffer
#include "arrow/record_batch.h" // for RecordBatch
#include "arrow/type.h" // for Field, DataType
#include "arrow/type_traits.h" // for is_binary_like
#include "gandiva/eval_batch.h" // for EvalBatch
/arrow/cpp/src/gandiva/annotator.cc should remove these lines:
/arrow/cpp/src/gandiva/bitmap_accumulator.h should add these lines:
#include <cstdint> // for uint8_t, int64_t
/arrow/cpp/src/gandiva/bitmap_accumulator.h should remove these lines:
/arrow/cpp/src/gandiva/bitmap_accumulator.cc should add these lines:
#include <string.h> // for memcpy, memset
#include "arrow/util/bit-util.h" // for BytesForBits
/arrow/cpp/src/gandiva/bitmap_accumulator.cc should remove these lines:
/arrow/cpp/src/gandiva/cast_time.cc should add these lines:
#include <errno.h> // for EINVAL
#include <llvm/IR/DerivedTypes.h> // for PointerType
#include <algorithm> // for copy
#include <chrono> // for duration, operator+
#include <ratio> // for ratio
#include <string> // for string
#include <type_traits> // for __success_type<>::type
#include <vector> // for vector
#include "arrow/vendored/datetime/date.h" // for operator/, local_days
#include "arrow/vendored/datetime/tz.h" // for locate_zone, time_zone
#include "gandiva/llvm_types.h" // for LLVMTypes
namespace llvm { class Type; }
/arrow/cpp/src/gandiva/cast_time.cc should remove these lines:
- #include "arrow/vendored/datetime.h" // lines 20-20
/arrow/cpp/src/gandiva/configuration.h should add these lines:
#include <iosfwd> // for size_t
/arrow/cpp/src/gandiva/configuration.h should remove these lines:
- #include "arrow/status.h" // lines 23-23
- namespace gandiva { class ConfigurationBuilder; } // lines 32-32
/arrow/cpp/src/gandiva/configuration.cc should add these lines:
#include <boost/container_hash/extensions.hpp> // for hash
/arrow/cpp/src/gandiva/configuration.cc should remove these lines:
- #include "boost/functional/hash.hpp" // lines 20-20
/arrow/cpp/src/gandiva/context_helper.cc should add these lines:
#include <llvm/IR/DerivedTypes.h> // for PointerType
#include <cstdint> // for int64_t, int32_t, uint8_t
#include <vector> // for vector
#include "gandiva/llvm_types.h" // for LLVMTypes
#include "gandiva/simple_arena.h" // for SimpleArena
namespace llvm { class Type; }
/arrow/cpp/src/gandiva/context_helper.cc should remove these lines:
/arrow/cpp/src/gandiva/decimal_ir.h should add these lines:
#include "gandiva/arrow.h" // for Status
namespace gandiva { class Engine; }
namespace llvm { class Function; }
namespace llvm { class Type; }
namespace llvm { class Value; }
/arrow/cpp/src/gandiva/decimal_ir.h should remove these lines:
/arrow/cpp/src/gandiva/decimal_ir.cc should add these lines:
#include <llvm/ADT/ArrayRef.h> // for ArrayRef
#include <llvm/IR/Argument.h> // for Argument
#include <llvm/IR/BasicBlock.h> // for BasicBlock
#include <llvm/IR/Constant.h> // for Constant
#include <llvm/IR/Constants.h> // for ConstantInt, UndefValue, Cons...
#include <llvm/IR/DerivedTypes.h> // for ArrayType, FunctionType
#include <llvm/IR/Function.h> // for Function
#include <llvm/IR/GlobalValue.h> // for GlobalValue, GlobalValue::Lin...
#include <llvm/IR/GlobalVariable.h> // for GlobalVariable
#include <llvm/IR/IRBuilder.h> // for IRBuilder
#include <llvm/IR/Instructions.h> // for AllocaInst, LoadInst, CallInst
#include <llvm/IR/Intrinsics.h> // for getDeclaration
#include <llvm/IR/Module.h> // for Module
#include <llvm/IR/Type.h> // for Type
#include "arrow/util/logging.h" // for DCHECK_NE, DCHECK
#include "gandiva/engine.h" // for Engine
#include "gandiva/llvm_types.h" // for LLVMTypes
#include "llvm/IR/Intrinsics.h" // for sadd_with_overflow, smul_with...
namespace llvm { class Value; }
/arrow/cpp/src/gandiva/decimal_ir.cc should remove these lines:
- #include <sstream> // lines 18-18
- #include <utility> // lines 19-19
- #include "arrow/status.h" // lines 21-21
/arrow/cpp/src/gandiva/decimal_type_util.h should add these lines:
#include <cstdint> // for int32_t
#include "arrow/type.h" // for decimal, Decimal128Type (ptr only)
/arrow/cpp/src/gandiva/decimal_type_util.h should remove these lines:
/arrow/cpp/src/gandiva/decimal_type_util.cc should add these lines:
#include "arrow/util/logging.h" // for DCHECK_GE, DCHECK_LE, DCHECK_EQ
/arrow/cpp/src/gandiva/decimal_type_util.cc should remove these lines:
- #include "gandiva/logging.h" // lines 19-19
/arrow/cpp/src/gandiva/engine.h should add these lines:
#include <llvm/ExecutionEngine/ExecutionEngine.h> // for ExecutionEngine
#include <llvm/IR/IRBuilder.h> // for IRBuilder
#include <llvm/IR/LLVMContext.h> // for LLVMContext
#include <mutex> // for mutex
#include "arrow/util/logging.h" // for DCHECK
#include "gandiva/arrow.h" // for Status
namespace gandiva { class Configuration; }
namespace llvm { class Function; }
namespace llvm { class Module; }
namespace llvm { class Type; }
/arrow/cpp/src/gandiva/engine.h should remove these lines:
- #include "arrow/status.h" // lines 26-26
- #include "arrow/util/macros.h" // lines 27-27
- #include "gandiva/configuration.h" // lines 29-29
- #include "gandiva/llvm_includes.h" // lines 30-30
- #include "gandiva/logging.h" // lines 32-32
- namespace gandiva { class FunctionIRBuilder; } // lines 37-37
/arrow/cpp/src/gandiva/engine.cc should add these lines:
#include <llvm/ADT/StringRef.h> // for StringRef
#include <llvm/IR/DerivedTypes.h> // for FunctionType
#include <llvm/IR/Function.h> // for Function
#include <llvm/IR/GlobalValue.h> // for GlobalValue
#include <llvm/IR/Module.h> // for Module
#include <llvm/Pass.h> // for FunctionPass
#include <llvm/Support/CodeGen.h> // for Aggressive
#include <llvm/Support/Error.h> // for Expected, handl...
#include <llvm/Support/ErrorOr.h> // for ErrorOr
#include <llvm/Support/MemoryBuffer.h> // for MemoryBuffer
#include <llvm/Target/TargetMachine.h> // for TargetMachine
#include <stddef.h> // for NULL
#include <system_error> // for error_code
#include "arrow/status.h" // for Status, ARROW_R...
#include "gandiva/configuration.h" // for Configuration
namespace llvm { class Type; }
/arrow/cpp/src/gandiva/engine.cc should remove these lines:
- #include <llvm/Analysis/Passes.h> // lines 41-41
- #include <llvm/ExecutionEngine/MCJIT.h> // lines 44-44
- #include <llvm/IR/DataLayout.h> // lines 45-45
- #include <sstream> // lines 27-27
/arrow/cpp/src/gandiva/date_utils.h should add these lines:
#include <bits/types/struct_tm.h> // for tm
#include <time.h> // for strptime
#include <chrono> // for operator+, hours, duration
#include <cstdint> // for int64_t
#include <ratio> // for ratio
#include <type_traits> // for __success_type<>::type
#include "arrow/vendored/datetime/date.h" // for operator/, sys_seconds
/arrow/cpp/src/gandiva/date_utils.h should remove these lines:
- #include "arrow/vendored/datetime.h" // lines 33-33
/arrow/cpp/src/gandiva/date_utils.cc should add these lines:
#include <ctype.h> // for tolower
#include <stddef.h> // for size_t
#include <utility> // for pair
#include "arrow/status.h" // for ARROW_RETURN_IF
/arrow/cpp/src/gandiva/date_utils.cc should remove these lines:
/arrow/cpp/src/gandiva/expr_decomposer.h should add these lines:
#include <cstdint> // for int32_t, int64_t
#include "arrow/status.h" // for Status
#include "arrow/util/macros.h" // for FRIEND_TEST, ARROW_DISALLOW_COP...
#include "gandiva/gandiva_aliases.h" // for ValueValidityPairPtr
/arrow/cpp/src/gandiva/expr_decomposer.h should remove these lines:
- #include "gandiva/expression.h" // lines 27-27
/arrow/cpp/src/gandiva/expr_decomposer.cc should add these lines:
#include "arrow/util/logging.h" // for DCHECK_EQ, ArrowLogBase
#include "gandiva/field_descriptor.h" // for FieldDescriptor
#include "gandiva/func_descriptor.h" // for FuncDescriptor
#include "gandiva/like_holder.h" // for LikeHolder
#include "gandiva/native_function.h" // for NativeFunction, kResul...
#include "gandiva/value_validity_pair.h" // for ValueValidityPair
namespace gandiva { class FunctionHolder; }
namespace gandiva { template <typename Type> class InExprDex; }
/arrow/cpp/src/gandiva/expr_decomposer.cc should remove these lines:
- #include <unordered_set> // lines 23-23
- #include "gandiva/in_holder.h" // lines 31-31
/arrow/cpp/src/gandiva/expr_validator.h should add these lines:
#include <stddef.h> // for size_t
#include <boost/container_hash/extensions.hpp> // for hash
#include <cstdint> // for int32_t, int64_t
#include <memory> // for __shared_ptr_access
#include <vector> // for vector
#include "arrow/type.h" // for Field, Schema
#include "gandiva/gandiva_aliases.h" // for ExpressionPtr
namespace gandiva { class BooleanNode; }
namespace gandiva { class FieldNode; }
namespace gandiva { class FunctionNode; }
namespace gandiva { class IfNode; }
namespace gandiva { class LLVMTypes; }
namespace gandiva { class LiteralNode; }
namespace gandiva { template <typename Type> class InExpressionNode; }
/arrow/cpp/src/gandiva/expr_validator.h should remove these lines:
- #include "arrow/status.h" // lines 24-24
- #include "boost/functional/hash.hpp" // lines 25-25
- #include "gandiva/expression.h" // lines 28-28
- #include "gandiva/llvm_types.h" // lines 30-30
- #include "gandiva/node.h" // lines 31-31
- namespace gandiva { class FunctionRegistry; } // lines 36-36
/arrow/cpp/src/gandiva/expr_validator.cc should add these lines:
#include <unordered_set> // for unordered_set
#include <utility> // for pair
#include "arrow/status.h" // for ARROW_RETURN_IF
#include "arrow/vendored/variant/variant_io.hpp" // for operator<<
#include "gandiva/decimal_scalar.h" // for operator<<
#include "gandiva/expression.h" // for Expression
#include "gandiva/func_descriptor.h" // for FuncDescriptor
#include "gandiva/function_registry_common.h" // for boolean, int32, int64
#include "gandiva/function_signature.h" // for FunctionSignature
#include "gandiva/llvm_types.h" // for LLVMTypes
#include "gandiva/node.h" // for Node, FieldNode
namespace gandiva { class NativeFunction; }
/arrow/cpp/src/gandiva/expr_validator.cc should remove these lines:
- #include <sstream> // lines 18-18
- #include <vector> // lines 20-20
/arrow/cpp/src/gandiva/expression.cc should add these lines:
#include <memory> // for __shared_ptr_access
/arrow/cpp/src/gandiva/expression.cc should remove these lines:
/arrow/cpp/src/gandiva/expression_registry.h should add these lines:
#include "arrow/type.h" // for Type, Type::type
/arrow/cpp/src/gandiva/expression_registry.h should remove these lines:
- #include "gandiva/gandiva_aliases.h" // lines 26-26
/arrow/cpp/src/gandiva/expression_registry.cc should add these lines:
#include <llvm/IR/LLVMContext.h> // for LLVMContext
#include "arrow/util/logging.h" // for DCHECK
#include "gandiva/function_registry_common.h" // for binary, boolean, date64
#include "gandiva/native_function.h" // for NativeFunction
/arrow/cpp/src/gandiva/expression_registry.cc should remove these lines:
- #include "boost/iterator/transform_iterator.hpp" // lines 20-20
/arrow/cpp/src/gandiva/exported_funcs_registry.h should add these lines:
namespace gandiva { class Engine; }
/arrow/cpp/src/gandiva/exported_funcs_registry.h should remove these lines:
- #include <gandiva/engine.h> // lines 24-24
/arrow/cpp/src/gandiva/exported_funcs_registry.cc should add these lines:
namespace gandiva { class Engine; }
/arrow/cpp/src/gandiva/exported_funcs_registry.cc should remove these lines:
/arrow/cpp/src/gandiva/filter.h should add these lines:
#include "gandiva/gandiva_aliases.h" // for ConditionPtr
namespace arrow { class RecordBatch; }
namespace gandiva { class SelectionVector; }
/arrow/cpp/src/gandiva/filter.h should remove these lines:
- #include <string> // lines 21-21
- #include <utility> // lines 22-22
- #include <vector> // lines 23-23
- #include "arrow/status.h" // lines 25-25
- #include "gandiva/condition.h" // lines 28-28
- #include "gandiva/selection_vector.h" // lines 30-30
/arrow/cpp/src/gandiva/filter.cc should add these lines:
#include <boost/optional/optional.hpp> // for operator!=
#include <cstdint> // for uint8_t, int64_t
#include "arrow/array.h" // for ArrayData
#include "arrow/buffer.h" // for Buffer
#include "arrow/record_batch.h" // for RecordBatch
#include "arrow/status.h" // for Status, ARROW_RETURN_IF
#include "arrow/type.h" // for boolean, Schema
#include "gandiva/function_registry_common.h" // for boolean
#include "gandiva/local_bitmaps_holder.h" // for LocalBitMapsHolder
#include "gandiva/lru_cache.h" // for LruCache<>::key_type
#include "gandiva/selection_vector.h" // for SelectionVector
/arrow/cpp/src/gandiva/filter.cc should remove these lines:
- #include <vector> // lines 22-22
- #include "gandiva/condition.h" // lines 26-26
- #include "gandiva/selection_vector_impl.h" // lines 30-30
/arrow/cpp/src/gandiva/function_ir_builder.h should add these lines:
#include <llvm/IR/IRBuilder.h> // for IRBuilder
#include <functional> // for function
namespace gandiva { class LLVMTypes; }
namespace llvm { class Function; }
namespace llvm { class LLVMContext; }
namespace llvm { class Module; }
namespace llvm { class Type; }
namespace llvm { class Value; }
/arrow/cpp/src/gandiva/function_ir_builder.h should remove these lines:
- #include <cstdint> // lines 21-21
- #include <memory> // lines 22-22
- #include "gandiva/gandiva_aliases.h" // lines 27-27
- #include "gandiva/llvm_types.h" // lines 28-28
/arrow/cpp/src/gandiva/function_ir_builder.cc should add these lines:
#include <llvm/ADT/Twine.h> // for Twine
#include <llvm/ADT/iterator_range.h> // for iterator_range
#include <llvm/IR/Argument.h> // for Argument
#include <llvm/IR/BasicBlock.h> // for BasicBlock
#include <llvm/IR/DerivedTypes.h> // for FunctionType
#include <llvm/IR/Function.h> // for Function
#include <llvm/IR/GlobalValue.h> // for GlobalValue, GlobalValue::Exter...
#include <llvm/IR/Instructions.h> // for PHINode
#include <cstdint> // for uint32_t
#include <memory> // for allocator_traits<>::value_type
#include "arrow/util/logging.h" // for DCHECK_LT, DCHECK_NE
namespace llvm { class Type; }
namespace llvm { class Value; }
/arrow/cpp/src/gandiva/function_ir_builder.cc should remove these lines:
/arrow/cpp/src/gandiva/function_registry.h should add these lines:
namespace gandiva { class FunctionSignature; }
namespace gandiva { class NativeFunction; }
/arrow/cpp/src/gandiva/function_registry.h should remove these lines:
- #include "gandiva/gandiva_aliases.h" // lines 23-23
- #include "gandiva/native_function.h" // lines 24-24
/arrow/cpp/src/gandiva/function_registry.cc should add these lines:
#include <unordered_map> // for operator==
#include "gandiva/native_function.h" // for NativeFu...
namespace gandiva { class FunctionSignature; }
/arrow/cpp/src/gandiva/function_registry.cc should remove these lines:
/arrow/cpp/src/gandiva/function_registry_arithmetic.h should add these lines:
namespace gandiva { class NativeFunction; }
/arrow/cpp/src/gandiva/function_registry_arithmetic.h should remove these lines:
- #include "gandiva/native_function.h" // lines 22-22
/arrow/cpp/src/gandiva/function_registry_arithmetic.cc should add these lines:
#include "arrow/type_fwd.h" // for int32, int64, utf8
#include "gandiva/native_function.h" // for NativeFunction
/arrow/cpp/src/gandiva/function_registry_arithmetic.cc should remove these lines:
/arrow/cpp/src/gandiva/function_registry_datetime.h should add these lines:
namespace gandiva { class NativeFunction; }
/arrow/cpp/src/gandiva/function_registry_datetime.h should remove these lines:
- #include "gandiva/native_function.h" // lines 22-22
/arrow/cpp/src/gandiva/function_registry_datetime.cc should add these lines:
#include "arrow/type_fwd.h" // for utf8, date64, int32
#include "gandiva/arrow.h" // for DataTypeVector
#include "gandiva/native_function.h" // for NativeFunction, Native...
/arrow/cpp/src/gandiva/function_registry_datetime.cc should remove these lines:
/arrow/cpp/src/gandiva/function_registry_hash.h should add these lines:
namespace gandiva { class NativeFunction; }
/arrow/cpp/src/gandiva/function_registry_hash.h should remove these lines:
- #include "gandiva/native_function.h" // lines 22-22
/arrow/cpp/src/gandiva/function_registry_hash.cc should add these lines:
#include "gandiva/native_function.h" // for NativeFunction
/arrow/cpp/src/gandiva/function_registry_hash.cc should remove these lines:
/arrow/cpp/src/gandiva/function_registry_math_ops.h should add these lines:
namespace gandiva { class NativeFunction; }
/arrow/cpp/src/gandiva/function_registry_math_ops.h should remove these lines:
- #include "gandiva/native_function.h" // lines 22-22
/arrow/cpp/src/gandiva/function_registry_math_ops.cc should add these lines:
#include "arrow/type_fwd.h" // for float64, float32, int32
#include "gandiva/native_function.h" // for NativeFunction
/arrow/cpp/src/gandiva/function_registry_math_ops.cc should remove these lines:
/arrow/cpp/src/gandiva/function_registry_string.h should add these lines:
namespace gandiva { class NativeFunction; }
/arrow/cpp/src/gandiva/function_registry_string.h should remove these lines:
- #include "gandiva/native_function.h" // lines 22-22
/arrow/cpp/src/gandiva/function_registry_string.cc should add these lines:
#include "arrow/type_fwd.h" // for utf8, boolean
#include "gandiva/arrow.h" // for DataTypeVector
#include "gandiva/native_function.h" // for NativeFunction, kResul...
/arrow/cpp/src/gandiva/function_registry_string.cc should remove these lines:
/arrow/cpp/src/gandiva/function_registry_timestamp_arithmetic.h should add these lines:
namespace gandiva { class NativeFunction; }
/arrow/cpp/src/gandiva/function_registry_timestamp_arithmetic.h should remove these lines:
- #include "gandiva/native_function.h" // lines 22-22
/arrow/cpp/src/gandiva/function_registry_timestamp_arithmetic.cc should add these lines:
#include "arrow/type_fwd.h" // for date64, int32, int64
#include "gandiva/native_function.h" // for NativeFunction
/arrow/cpp/src/gandiva/function_registry_timestamp_arithmetic.cc should remove these lines:
/arrow/cpp/src/gandiva/function_signature.h should add these lines:
#include <stddef.h> // for NULL
#include <memory> // for __shared_ptr_access
#include "arrow/type.h" // for DecimalType, DataType, Type
#include "arrow/util/checked_cast.h" // for checked_cast
#include "arrow/util/logging.h" // for DCHECK, DCHECK_GT
/arrow/cpp/src/gandiva/function_signature.h should remove these lines:
- #include "gandiva/logging.h" // lines 26-26
/arrow/cpp/src/gandiva/function_signature.cc should add these lines:
#include <boost/container_hash/extensions.hpp> // for hash_combine
#include <cstdint> // for uint32_t
/arrow/cpp/src/gandiva/function_signature.cc should remove these lines:
- #include "boost/functional/hash.hpp" // lines 20-20
/arrow/cpp/src/gandiva/gdv_function_stubs.cc should add these lines:
#include <llvm/IR/DerivedTypes.h> // for PointerType
#include "gandiva/llvm_types.h" // for LLVMTypes
namespace gandiva { class ExecutionContext; }
namespace llvm { class Type; }
/arrow/cpp/src/gandiva/gdv_function_stubs.cc should remove these lines:
/arrow/cpp/src/gandiva/llvm_generator.h should add these lines:
#include <llvm/IR/IRBuilder.h> // for IRBuilder
#include <functional> // for function
#include "gandiva/arrow.h" // for Status, FieldPtr, DataTypePtr
namespace arrow { class RecordBatch; }
namespace gandiva { class BooleanAndDex; }
namespace gandiva { class BooleanOrDex; }
namespace gandiva { class Configuration; }
namespace gandiva { class DecimalLValue; }
namespace gandiva { class EvalBatch; }
namespace gandiva { class FalseDex; }
namespace gandiva { class IfDex; }
namespace gandiva { class LLVMTypes; }
namespace gandiva { class LiteralDex; }
namespace gandiva { class LocalBitMapValidityDex; }
namespace gandiva { class NativeFunction; }
namespace gandiva { class NonNullableFuncDex; }
namespace gandiva { class NullableInternalFuncDex; }
namespace gandiva { class NullableNeverFuncDex; }
namespace gandiva { class TrueDex; }
namespace gandiva { class ValueValidityPair; }
namespace gandiva { class VectorReadFixedLenValueDex; }
namespace gandiva { class VectorReadValidityDex; }
namespace gandiva { class VectorReadVarLenValueDex; }
namespace gandiva { template <typename Type> class InExprDexBase; }
namespace llvm { class BasicBlock; }
namespace llvm { class Function; }
namespace llvm { class LLVMContext; }
namespace llvm { class Module; }
namespace llvm { class Type; }
namespace llvm { class Value; }
/arrow/cpp/src/gandiva/llvm_generator.h should remove these lines:
- #include "gandiva/configuration.h" // lines 30-30
- #include "gandiva/execution_context.h" // lines 33-33
- #include "gandiva/llvm_types.h" // lines 36-36
- #include "gandiva/lvalue.h" // lines 37-37
- #include "gandiva/value_validity_pair.h" // lines 38-38
/arrow/cpp/src/gandiva/llvm_generator.cc should add these lines:
#include <llvm/IR/Argument.h> // for Argument
#include <llvm/IR/BasicBlock.h> // for BasicBlock
#include <llvm/IR/Constant.h> // for Constant
#include <llvm/IR/Constants.h> // for ConstantExpr, ConstantInt
#include <llvm/IR/DerivedTypes.h> // for PointerType, FunctionType
#include <llvm/IR/Function.h> // for Function, Function::arg_ite...
#include <llvm/IR/GlobalValue.h> // for GlobalValue, GlobalValue::E...
#include <llvm/IR/Instructions.h> // for PHINode, AllocaInst, LoadInst
#include <llvm/IR/Module.h> // for Module
#include <llvm/IR/Type.h> // for Type
#include <llvm/IR/Value.h> // for Value
#include "arrow/record_batch.h" // for RecordBatch
#include "arrow/status.h" // for Status, ARROW_RETURN_NOT_OK
#include "arrow/type.h" // for Type, DataType, DecimalType
#include "arrow/type_traits.h" // for is_binary_like
#include "arrow/util/checked_cast.h" // for checked_cast
#include "arrow/util/logging.h" // for DCHECK, DCHECK_GT, ArrowLog...
#include "gandiva/decimal_scalar.h" // for DecimalScalar128, Decimal128
#include "gandiva/eval_batch.h" // for EvalBatch
#include "gandiva/execution_context.h" // for ExecutionContext
#include "gandiva/field_descriptor.h" // for FieldDescriptor
#include "gandiva/func_descriptor.h" // for FuncDescriptor
#include "gandiva/function_holder.h" // for FunctionHolderPtr, Function...
#include "gandiva/literal_holder.h" // for LiteralHolder
#include "gandiva/llvm_types.h" // for LLVMTypes
#include "gandiva/native_function.h" // for NativeFunction
#include "gandiva/value_validity_pair.h" // for ValueValidityPair
namespace gandiva { class Configuration; }
namespace gandiva { template <typename Type> class InExprDex; }
namespace llvm { class LLVMContext; }
/arrow/cpp/src/gandiva/llvm_generator.cc should remove these lines:
- #include <iostream> // lines 21-21
- #include <sstream> // lines 22-22
- #include "gandiva/function_registry.h" // lines 31-31
/arrow/cpp/src/gandiva/llvm_types.h should add these lines:
#include <llvm/ADT/APInt.h> // for APInt
#include <llvm/IR/Constants.h> // for ConstantInt, ConstantFP, ConstantP...
#include <llvm/IR/DerivedTypes.h> // for IntegerType, PointerType, StructType
#include <llvm/IR/Type.h> // for Type
#include <stddef.h> // for NULL
#include <cstdint> // for int64_t, int32_t
#include <memory> // for __shared_ptr_access
#include <utility> // for pair
#include "arrow/type.h" // for Type::type, Type, DataType
#include "arrow/util/logging.h" // for DCHECK
namespace llvm { class Constant; }
namespace llvm { class LLVMContext; }
/arrow/cpp/src/gandiva/llvm_types.h should remove these lines:
- #include "gandiva/llvm_includes.h" // lines 25-25
- #include "gandiva/logging.h" // lines 26-26
/arrow/cpp/src/gandiva/llvm_types.cc should add these lines:
namespace llvm { class LLVMContext; }
/arrow/cpp/src/gandiva/llvm_types.cc should remove these lines:
/arrow/cpp/src/gandiva/like_holder.h should add these lines:
#include "gandiva/arrow.h" // for Status
/arrow/cpp/src/gandiva/like_holder.h should remove these lines:
- #include "arrow/status.h" // lines 26-26
/arrow/cpp/src/gandiva/like_holder.cc should add these lines:
#include "arrow/status.h" // for ARROW_RETURN_IF, Status, ARROW_...
#include "arrow/type.h" // for Type, DataType, Type::BINARY
#include "gandiva/gandiva_aliases.h" // for NodeVector
#include "gandiva/literal_holder.h" // for LiteralHolder
/arrow/cpp/src/gandiva/like_holder.cc should remove these lines:
- #include <regex> // lines 20-20
/arrow/cpp/src/gandiva/projector.h should add these lines:
#include <cstdint> // for int64_t
#include "arrow/array.h" // for ArrayData (ptr only), ArrayVector
#include "gandiva/gandiva_aliases.h" // for ExpressionVector
namespace arrow { class Field; }
namespace arrow { class MemoryPool; }
namespace arrow { class RecordBatch; }
namespace gandiva { class Configuration; }
/arrow/cpp/src/gandiva/projector.h should remove these lines:
- #include <string> // lines 21-21
- #include <utility> // lines 22-22
- #include <vector> // lines 23-23
- #include "arrow/status.h" // lines 25-25
- #include "gandiva/configuration.h" // lines 28-28
- #include "gandiva/expression.h" // lines 29-29
/arrow/cpp/src/gandiva/projector.cc should add these lines:
#include <string.h> // for memset
#include <boost/optional/optional.hpp> // for operator!=
#include "arrow/buffer.h" // for AllocateBuffer, Buffer
#include "arrow/record_batch.h" // for RecordBatch
#include "arrow/status.h" // for Status, ARROW_RETURN_IF
#include "arrow/type.h" // for Field, FixedWidthType, Data...
#include "arrow/util/bit-util.h" // for BytesForBits
#include "gandiva/configuration.h" // for Configuration (ptr only)
#include "gandiva/expression.h" // for Expression
#include "gandiva/lru_cache.h" // for LruCache<>::key_type
namespace arrow { class MemoryPool; }
/arrow/cpp/src/gandiva/projector.cc should remove these lines:
/arrow/cpp/src/gandiva/regex_util.h should add these lines:
/arrow/cpp/src/gandiva/regex_util.h should remove these lines:
- #include <sstream> // lines 22-22
/arrow/cpp/src/gandiva/regex_util.cc should add these lines:
#include <stddef.h> // for size_t
#include "arrow/status.h" // for ARROW_RETURN_IF
/arrow/cpp/src/gandiva/regex_util.cc should remove these lines:
/arrow/cpp/src/gandiva/selection_vector.h should add these lines:
#include <cstdint> // for int64_t, uint64_t, uint8_t
namespace arrow { class Buffer; }
namespace arrow { class MemoryPool; }
/arrow/cpp/src/gandiva/selection_vector.h should remove these lines:
- #include "arrow/status.h" // lines 23-23
- #include "gandiva/logging.h" // lines 26-26
/arrow/cpp/src/gandiva/selection_vector.cc should add these lines:
#include "arrow/buffer.h" // for AllocateBuffer, Buffer
#include "arrow/status.h" // for Status, ARROW_RETURN_NOT_OK
namespace arrow { class MemoryPool; }
/arrow/cpp/src/gandiva/selection_vector.cc should remove these lines:
- #include <sstream> // lines 21-21
- #include <utility> // lines 22-22
- #include <vector> // lines 23-23
/arrow/cpp/src/gandiva/tree_expr_builder.h should add these lines:
#include <cstdint> // for int64_t, int32_t, int16_t, int8_t
#include "gandiva/arrow.h" // for DataTypePtr, FieldPtr, FieldVector
#include "gandiva/gandiva_aliases.h" // for NodePtr, NodeVector, ConditionPtr
namespace gandiva { class DecimalScalar128; }
/arrow/cpp/src/gandiva/tree_expr_builder.h should remove these lines:
- #include <memory> // lines 21-21
- #include <vector> // lines 24-24
- #include "arrow/type.h" // lines 26-26
- #include "gandiva/condition.h" // lines 27-27
- #include "gandiva/decimal_scalar.h" // lines 28-28
- #include "gandiva/expression.h" // lines 29-29
/arrow/cpp/src/gandiva/tree_expr_builder.cc should add these lines:
#include <iostream> // for operator<<, basic_ostream, cout
#include <memory> // for make_shared, operator==, __shar...
#include <vector> // for vector
#include "arrow/type.h" // for Type, boolean, binary, decimal
#include "gandiva/condition.h" // for Condition
#include "gandiva/decimal_scalar.h" // for DecimalScalar128
#include "gandiva/expression.h" // for Expression
#include "gandiva/literal_holder.h" // for LiteralHolder
/arrow/cpp/src/gandiva/tree_expr_builder.cc should remove these lines:
- #include <utility> // lines 20-20
- #include "gandiva/decimal_type_util.h" // lines 22-22
/arrow/cpp/src/gandiva/to_date_holder.h should add these lines:
#include <cstdint> // for int32_t, int64_t
#include "gandiva/arrow.h" // for Status
namespace gandiva { class ExecutionContext; }
namespace gandiva { class FunctionNode; }
/arrow/cpp/src/gandiva/to_date_holder.h should remove these lines:
- #include <unordered_map> // lines 23-23
- #include "arrow/status.h" // lines 25-25
- #include "gandiva/execution_context.h" // lines 27-27
- #include "gandiva/node.h" // lines 29-29
/arrow/cpp/src/gandiva/to_date_holder.cc should add these lines:
#include "arrow/status.h" // for Status, ARROW_RETURN_NOT_OK
#include "arrow/type.h" // for Type, DataType, Type::BINARY
#include "gandiva/gandiva_aliases.h" // for NodeVector
#include "gandiva/literal_holder.h" // for LiteralHolder
/arrow/cpp/src/gandiva/to_date_holder.cc should remove these lines:
- #include <algorithm> // lines 18-18
- #include "arrow/vendored/datetime.h" // lines 21-21
+ '[' -s /tmp/arrow-cpp-iwyu.SoQiAl ']'
+ echo 'IWYU verification: the changes look good'
IWYU verification: the changes look good
+ exit 0
+ rm -f /tmp/arrow-cpp-iwyu.SoQiAl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment