Skip to content

Instantly share code, notes, and snippets.

@wesm

wesm/iwyu.txt Secret

Last active July 29, 2019 17:02
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/af59c7cc8f35c6fd806b0d041b816da8 to your computer and use it in GitHub Desktop.
Save wesm/af59c7cc8f35c6fd806b0d041b816da8 to your computer and use it in GitHub Desktop.
/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 <string> // lines 25-25
/arrow/cpp/src/arrow/array.h should add these lines:
#include "arrow/status.h" // for Status
#include "arrow/vendored/string_view.hpp" // for string_view
/arrow/cpp/src/arrow/array.h should remove these lines:
- namespace arrow { class Status; } // lines 52-52
/arrow/cpp/src/arrow/array.cc should add these lines:
#include <limits.h> // for CHAR_BIT
#include <string.h> // for memset
/arrow/cpp/src/arrow/array.cc should remove these lines:
- #include <sstream> // lines 24-24
/arrow/cpp/src/arrow/builder.h should add these lines:
namespace arrow { class Array; }
/arrow/cpp/src/arrow/builder.h should remove these lines:
/arrow/cpp/src/arrow/builder.cc should add these lines:
#include <algorithm> // for max
namespace arrow { class Array; }
/arrow/cpp/src/arrow/builder.cc should remove these lines:
- #include <string> // lines 20-20
- #include "arrow/util/hashing.h" // lines 27-27
/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 ResizableBuffer; }
/arrow/cpp/src/arrow/array/builder_base.h should remove these lines:
- #include <cstring> // lines 22-22
- #include <type_traits> // lines 25-25
- #include "arrow/type.h" // lines 31-31
- #include "arrow/type_traits.h" // lines 32-32
- #include "arrow/util/type_traits.h" // lines 34-34
/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 <utility> // lines 24-24
- #include "arrow/type.h" // lines 30-30
- #include "arrow/type_traits.h" // lines 31-31
- #include "arrow/util/bit-util.h" // lines 32-32
- #include "arrow/util/int-util.h" // lines 33-33
/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, int64_t, uint8_t
#include "arrow/memory_pool.h" // for MemoryPool (ptr only), ARR...
#include "arrow/util/visibility.h" // for ARROW_EXPORT
#include "arrow/vendored/string_view.hpp" // for string_view
namespace arrow { class DataType; }
/arrow/cpp/src/arrow/array/builder_binary.h should remove these lines:
- #include "arrow/type_traits.h" // lines 29-29
/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 30-30
- #include "arrow/type_traits.h" // lines 33-33
- #include "arrow/util/bit-util.h" // lines 34-34
- #include "arrow/util/decimal.h" // lines 36-36
- #include "arrow/util/logging.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 { class Decimal128Array; }
namespace arrow { struct ArrayData; }
/arrow/cpp/src/arrow/array/builder_decimal.h should remove these lines:
/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 <string> // lines 26-26
- #include <utility> // lines 27-27
- #include <vector> // lines 28-28
- #include "arrow/buffer.h" // lines 31-31
- #include "arrow/type.h" // lines 33-33
- #include "arrow/type_traits.h" // lines 34-34
- #include "arrow/util/bit-util.h" // lines 35-35
- #include "arrow/util/checked_cast.h" // lines 36-36
- #include "arrow/util/logging.h" // lines 38-38
/arrow/cpp/src/arrow/array/builder_dict.h should add these lines:
#include <cstdint> // for int32_t, int64_t, uint8_t
#include <type_traits> // for enable_if, is_base_of
#include "arrow/memory_pool.h" // for default_memory_pool, Memo...
#include "arrow/status.h" // for Status, ARROW_RETURN_NOT_OK
#include "arrow/type.h" // for FixedSizeBinaryType (ptr ...
#include "arrow/type_traits.h" // for TypeTraits
#include "arrow/util/macros.h" // for NULLPTR
#include "arrow/util/visibility.h" // for ARROW_EXPORT
/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 <stddef.h> // for size_t
/arrow/cpp/src/arrow/array/builder_dict.cc should remove these lines:
- #include "arrow/buffer.h" // lines 27-27
/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 FixedSizeListArray; }
namespace arrow { class ListArray; }
namespace arrow { class MapArray; }
namespace arrow { class MemoryPool; }
namespace arrow { class StructArray; }
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 "arrow/buffer.h" // lines 28-28
- #include "arrow/type_traits.h" // lines 31-31
- #include "arrow/util/bit-util.h" // lines 32-32
- #include "arrow/util/int-util.h" // lines 33-33
/arrow/cpp/src/arrow/array/builder_primitive.h should add these lines:
#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-builder.h" // for TypedBufferBuilder
#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/macros.h" // for NULLPTR
#include "arrow/util/type_traits.h" // for is_null_pointer
#include "arrow/util/visibility.h" // for ARROW_EXPORT
namespace arrow { class Buffer; }
/arrow/cpp/src/arrow/array/builder_primitive.h should remove these lines:
/arrow/cpp/src/arrow/array/builder_primitive.cc should add these lines:
namespace arrow { class Buffer; }
/arrow/cpp/src/arrow/array/builder_primitive.cc should remove these lines:
- #include <cstddef> // lines 21-21
- #include <cstring> // lines 23-23
- #include <utility> // lines 24-24
- #include "arrow/buffer.h" // lines 28-28
- #include "arrow/type_traits.h" // lines 31-31
- #include "arrow/util/bit-util.h" // lines 32-32
- #include "arrow/util/int-util.h" // lines 33-33
/arrow/cpp/src/arrow/array/builder_union.h should add these lines:
#include <cstdint> // for int8_t, int32_t, int64_t
#include "arrow/status.h" // for Status, ARROW_RETURN_NOT_OK
#include "arrow/type.h" // for UnionMode, DataType (ptr only)
#include "arrow/util/macros.h" // for NULLPTR
#include "arrow/util/visibility.h" // for ARROW_EXPORT
namespace arrow { class MemoryPool; }
/arrow/cpp/src/arrow/array/builder_union.h should remove these lines:
/arrow/cpp/src/arrow/array/builder_union.cc should add these lines:
#include <stddef.h> // for size_t
namespace arrow { class Buffer; }
namespace arrow { class MemoryPool; }
/arrow/cpp/src/arrow/array/builder_union.cc should remove these lines:
/arrow/cpp/src/arrow/array/concatenate.h should add these lines:
#include "arrow/status.h" // for Status
namespace arrow { class MemoryPool; }
/arrow/cpp/src/arrow/array/concatenate.h should remove these lines:
- #include <vector> // lines 21-21
- #include "arrow/memory_pool.h" // lines 24-24
/arrow/cpp/src/arrow/array/concatenate.cc should add these lines:
#include <stddef.h> // for size_t
#include <cstdint> // for int32_t, int64_t, uint8_t
#include "arrow/buffer.h" // for BufferVector, ConcatenateBuffers
#include "arrow/type.h" // for operator<<, FixedWidthType, int32
#include "arrow/util/bit-util.h" // for CopyBitmap, SetBitsTo, kPrecedi...
#include "arrow/util/checked_cast.h" // for checked_cast
namespace arrow { class ExtensionType; }
namespace arrow { class MemoryPool; }
/arrow/cpp/src/arrow/array/concatenate.cc should remove these lines:
- #include "arrow/memory_pool.h" // lines 27-27
- #include "arrow/util/visibility.h" // lines 30-30
/arrow/cpp/src/arrow/buffer.h should add these lines:
#include <iosfwd> // for size_t
namespace arrow { class MemoryPool; }
/arrow/cpp/src/arrow/buffer.h should remove these lines:
- #include <type_traits> // lines 25-25
- #include "arrow/memory_pool.h" // lines 28-28
/arrow/cpp/src/arrow/compare.cc should add these lines:
#include <algorithm> // for equal
#include "arrow/extension_type.h" // for ExtensionArray, ExtensionType
#include "arrow/util/basic_decimal.h" // for operator==, BasicDecimal128
#include "arrow/util/decimal.h" // for Decimal128
/arrow/cpp/src/arrow/compare.cc should remove these lines:
/arrow/cpp/src/arrow/extension_type.h should add these lines:
#include "arrow/status.h" // for Status
#include "arrow/util/checked_cast.h" // for checked_cast
/arrow/cpp/src/arrow/extension_type.h should remove these lines:
/arrow/cpp/src/arrow/extension_type.cc should add these lines:
/arrow/cpp/src/arrow/extension_type.cc should remove these lines:
- #include "arrow/util/visibility.h" // lines 32-32
/arrow/cpp/src/arrow/pretty_print.cc should add these lines:
#include "arrow/extension_type.h" // for ExtensionArray
#include "arrow/vendored/datetime/date.h" // for format, operator/, sys_days
/arrow/cpp/src/arrow/pretty_print.cc should remove these lines:
- #include "arrow/vendored/datetime.h" // lines 38-38
/arrow/cpp/src/arrow/record_batch.h should add these lines:
#include "arrow/status.h" // for Status
namespace arrow { class Array; }
namespace arrow { class Field; }
namespace arrow { class KeyValueMetadata; }
namespace arrow { class Schema; }
namespace arrow { class Table; }
namespace arrow { struct ArrayData; }
/arrow/cpp/src/arrow/record_batch.h should remove these lines:
- #include "arrow/type_fwd.h" // lines 25-25
- #include "arrow/util/iterator.h" // lines 26-26
/arrow/cpp/src/arrow/record_batch.cc should add these lines:
namespace arrow { class KeyValueMetadata; }
/arrow/cpp/src/arrow/record_batch.cc should remove these lines:
- #include <atomic> // lines 21-21
/arrow/cpp/src/arrow/result.h should add these lines:
#include <new> // for operator new
#include <type_traits> // for enable_if, is_constructible, is_c...
#include "arrow/util/visibility.h" // for ARROW_EXPORT
/arrow/cpp/src/arrow/result.h should remove these lines:
/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
/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 NULLPTR, ARROW_DISALLOW_COPY_AND_...
#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 <cassert> // lines 15-15
- #include <sstream> // lines 18-18
/arrow/cpp/src/arrow/table.h should add these lines:
namespace arrow { class KeyValueMetadata; }
/arrow/cpp/src/arrow/table.h should remove these lines:
/arrow/cpp/src/arrow/table.cc should add these lines:
namespace arrow { class KeyValueMetadata; }
/arrow/cpp/src/arrow/table.cc should remove these lines:
/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
/arrow/cpp/src/arrow/type.h should add these lines:
#include <type_traits> // for is_signed
namespace arrow { class KeyValueMetadata; }
/arrow/cpp/src/arrow/type.h should remove these lines:
- #include "arrow/util/checked_cast.h" // lines 30-30
/arrow/cpp/src/arrow/type.cc should add these lines:
#include <algorithm> // for max_element
#include "arrow/type_traits.h" // for is_integer
/arrow/cpp/src/arrow/type.cc should remove these lines:
- #include <ostream> // lines 22-22
/arrow/cpp/src/arrow/visitor.cc should add these lines:
#include "arrow/util/macros.h" // for ARROW_STRINGIFY
namespace arrow { class Date32Scalar; }
namespace arrow { class Date64Scalar; }
namespace arrow { class DayTimeIntervalScalar; }
namespace arrow { class DictionaryScalar; }
namespace arrow { class DurationScalar; }
namespace arrow { class MonthIntervalScalar; }
namespace arrow { class Time32Scalar; }
namespace arrow { class Time64Scalar; }
namespace arrow { class TimestampScalar; }
namespace arrow { struct BinaryScalar; }
namespace arrow { struct BooleanScalar; }
namespace arrow { struct Decimal128Scalar; }
namespace arrow { struct FixedSizeBinaryScalar; }
namespace arrow { struct FixedSizeListScalar; }
namespace arrow { struct ListScalar; }
namespace arrow { struct MapScalar; }
namespace arrow { struct NullScalar; }
namespace arrow { struct StringScalar; }
namespace arrow { struct StructScalar; }
/arrow/cpp/src/arrow/visitor.cc should remove these lines:
- #include "arrow/scalar.h" // lines 24-24
/arrow/cpp/src/arrow/csv/converter.cc should add these lines:
#include "arrow/util/checked_cast.h" // for checked_cast
/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/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/filesystem/filesystem.h should add these lines:
/arrow/cpp/src/arrow/filesystem/filesystem.h should remove these lines:
- #include "arrow/util/compression.h" // lines 27-27
/arrow/cpp/src/arrow/filesystem/localfs.h should add these lines:
#include "arrow/status.h" // for Status
#include "arrow/util/visibility.h" // for ARROW_EXPORT
namespace arrow { namespace io { class InputStream; } }
namespace arrow { namespace io { class OutputStream; } }
namespace arrow { namespace io { class RandomAccessFile; } }
/arrow/cpp/src/arrow/filesystem/localfs.h should remove these lines:
/arrow/cpp/src/arrow/filesystem/localfs.cc should add these lines:
#include <bits/types/struct_timespec.h> // for timespec
#include <cerrno> // for errno, ELOOP, ENOENT
#include <cstdint> // for int64_t
#include "arrow/io/interfaces.h" // for InputStream, OutputStream
#include "arrow/util/macros.h" // for ARROW_UNUSED
/arrow/cpp/src/arrow/filesystem/localfs.cc should remove these lines:
- #include <errno.h> // lines 25-25
- #include <fcntl.h> // lines 26-26
- #include <cstring> // lines 19-19
- #include "arrow/util/logging.h" // lines 37-37
/arrow/cpp/src/arrow/filesystem/mockfs.h should add these lines:
#include <chrono> // for operator==
#include "arrow/status.h" // for Status
#include "arrow/util/visibility.h" // for ARROW_EXPORT
namespace arrow { namespace io { class InputStream; } }
namespace arrow { namespace io { class OutputStream; } }
namespace arrow { namespace io { class RandomAccessFile; } }
/arrow/cpp/src/arrow/filesystem/mockfs.h should remove these lines:
/arrow/cpp/src/arrow/filesystem/mockfs.cc should add these lines:
#include <stddef.h> // for size_t
#include <cstdint> // for int64_t
#include <ostream> // for operator<<, basic_ostream
#include <type_traits> // for remove_reference<>::type
#include "arrow/util/macros.h" // for ARROW_DISALLOW_COPY_AND_ASSIGN
/arrow/cpp/src/arrow/filesystem/mockfs.cc should remove these lines:
- #include <iterator> // lines 19-19
/arrow/cpp/src/arrow/filesystem/path-util.h should add these lines:
#include "arrow/util/visibility.h" // for ARROW_EXPORT
/arrow/cpp/src/arrow/filesystem/path-util.h should remove these lines:
/arrow/cpp/src/arrow/filesystem/path-util.cc should add these lines:
#include <stddef.h> // for size_t
/arrow/cpp/src/arrow/filesystem/path-util.cc should remove these lines:
/arrow/cpp/src/arrow/filesystem/util-internal.h should add these lines:
#include <cstdint> // for int64_t
namespace arrow { namespace io { class InputStream; } }
namespace arrow { namespace io { class OutputStream; } }
/arrow/cpp/src/arrow/filesystem/util-internal.h should remove these lines:
- #include "arrow/io/interfaces.h" // lines 22-22
/arrow/cpp/src/arrow/filesystem/util-internal.cc should add these lines:
#include "arrow/io/interfaces.h" // for InputStream, OutputStream
/arrow/cpp/src/arrow/filesystem/util-internal.cc should remove these lines:
/arrow/cpp/src/arrow/json/options.h should add these lines:
/arrow/cpp/src/arrow/json/options.h should remove these lines:
- namespace arrow { class DataType; } // lines 27-27
/arrow/cpp/src/arrow/json/chunked-builder.h should add these lines:
#include <cstdint> // for int64_t
/arrow/cpp/src/arrow/json/chunked-builder.h should remove these lines:
- #include <vector> // lines 21-21
/arrow/cpp/src/arrow/json/chunked-builder.cc should add these lines:
#include <string.h> // for size_t, memset
#include "arrow/array.h" // for ArrayVector, StructArray, Array
#include "arrow/buffer.h" // for BufferVector, AllocateBitmap, Buffer
#include "arrow/type.h" // for Field, DataType, Type, ListType
/arrow/cpp/src/arrow/json/chunked-builder.cc should remove these lines:
/arrow/cpp/src/arrow/json/chunker.cc should add these lines:
#include <rapidjson/encodedstream.h> // for EncodedInputStream
#include <rapidjson/encodings.h> // for UTF8
#include <rapidjson/error/../rapidjson.h> // for rapidjson
#include <rapidjson/error/error.h> // for kParseErrorDocumentEmpty
#include <rapidjson/memorystream.h> // for MemoryStream
#include <stddef.h> // for size_t
#include <cstdint> // for int64_t
#include "arrow/util/logging.h" // for ARROW_LOG
/arrow/cpp/src/arrow/json/chunker.cc should remove these lines:
/arrow/cpp/src/arrow/json/converter.cc should add these lines:
#include <string.h> // for memset
#include <cstdint> // for int32_t, int64_t
#include <vector> // for vector
#include "arrow/buffer.h" // for AllocateBitmap, Buffer, AllocateBuffer
#include "arrow/type_traits.h" // for TypeTraits, CTypeTraits
#include "arrow/util/logging.h" // for DCHECK_EQ
/arrow/cpp/src/arrow/json/converter.cc should remove these lines:
- #include "arrow/builder.h" // lines 24-24
- #include "arrow/util/stl.h" // lines 28-28
- #include "arrow/util/string_view.h" // lines 29-29
/arrow/cpp/src/arrow/json/parser.h should add these lines:
#include <cstdint> // for int32_t, int64_t
namespace arrow { class DataType; }
namespace arrow { namespace json { struct ParseOptions; } }
/arrow/cpp/src/arrow/json/parser.h should remove these lines:
- #include "arrow/json/options.h" // lines 23-23
- #include "arrow/util/key_value_metadata.h" // lines 25-25
- namespace arrow { class ResizableBuffer; } // lines 35-35
/arrow/cpp/src/arrow/json/parser.cc should add these lines:
#include <rapidjson/error/../encodedstream.h> // for EncodedInputStream
#include <rapidjson/error/../encodings.h> // for UTF8
#include <rapidjson/error/../error/error.h> // for kParseErrorDocumentEmpty
#include <rapidjson/error/../memorystream.h> // for MemoryStream
#include <rapidjson/reader.h> // for SizeType, rapidjson
#include <iosfwd> // for size_t
#include <type_traits> // for enable_if
#include "arrow/buffer.h" // for Buffer
#include "arrow/json/options.h" // for UnexpectedFieldBehavior
#include "arrow/util/bit-util.h" // for BitsetStack, BitsetSta...
#include "arrow/util/checked_cast.h" // for checked_cast
#include "arrow/util/key_value_metadata.h" // for key_value_metadata
/arrow/cpp/src/arrow/json/parser.cc should remove these lines:
- #include "arrow/json/rapidjson-defs.h" // lines 27-27
- #include "arrow/util/string_view.h" // lines 38-38
/arrow/cpp/src/arrow/json/reader.h should add these lines:
namespace arrow { namespace json { struct ParseOptions; } }
namespace arrow { namespace json { struct ReadOptions; } }
/arrow/cpp/src/arrow/json/reader.h should remove these lines:
- #include "arrow/json/options.h" // lines 22-22
- #include "arrow/util/macros.h" // lines 24-24
/arrow/cpp/src/arrow/json/reader.cc should add these lines:
#include <cstdint> // for int64_t
#include "arrow/json/options.h" // for ParseOptions, ReadOptions
#include "arrow/memory_pool.h" // for MemoryPool (ptr only), defau...
#include "arrow/type.h" // for struct_, field, schema, Schema
/arrow/cpp/src/arrow/json/reader.cc should remove these lines:
- #include "arrow/util/string_view.h" // lines 33-33
/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/io/memory.h should add these lines:
/arrow/cpp/src/arrow/io/memory.h should remove these lines:
- #include "arrow/buffer.h" // lines 25-25
/arrow/cpp/src/arrow/testing/util.h should add these lines:
namespace arrow { class Schema; }
/arrow/cpp/src/arrow/testing/util.h should remove these lines:
- #include <cstdlib> // lines 22-22
- #include <limits> // lines 24-24
- #include <string> // lines 26-26
- #include <type_traits> // lines 27-27
- #include "arrow/type_fwd.h" // lines 33-33
- #include "arrow/util/macros.h" // lines 34-34
- namespace arrow { class ChunkedArray; } // lines 40-40
- namespace arrow { class RecordBatch; } // lines 42-42
- namespace arrow { class Table; } // lines 43-43
/arrow/cpp/src/arrow/testing/util.cc should add these lines:
#include <limits> // for numeric_limits
/arrow/cpp/src/arrow/testing/util.cc should remove these lines:
- #include "arrow/table.h" // lines 29-29
/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:
#include <algorithm> // for max
/arrow/cpp/src/arrow/util/bit-util.h should remove these lines:
- #include <endian.h> // lines 26-26
- #include <cmath> // lines 55-55
- #include <limits> // lines 58-58
/arrow/cpp/src/arrow/util/bit-util.cc should add these lines:
/arrow/cpp/src/arrow/util/bit-util.cc should remove these lines:
- #include <algorithm> // lines 26-26
/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 <type_traits> // lines 24-24
/arrow/cpp/src/arrow/util/decimal.cc should add these lines:
#include "arrow/type.h" // for Int32Type, Int64Type
/arrow/cpp/src/arrow/util/decimal.cc should remove these lines:
- #include <array> // lines 19-19
- #include <sstream> // lines 27-27
- #include "arrow/util/macros.h" // lines 35-35
/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 33-33
/arrow/cpp/src/arrow/util/logging.h should add these lines:
namespace arrow { namespace util { class ArrowLog; } }
namespace arrow { namespace util { class ArrowLogBase; } }
namespace arrow { namespace util { class Voidify; } }
/arrow/cpp/src/arrow/util/logging.h should remove these lines:
- #include <memory> // lines 39-39
/arrow/cpp/src/arrow/util/logging.cc should add these lines:
#include <string.h> // for memset
#include <memory> // for unique_ptr
/arrow/cpp/src/arrow/util/logging.cc 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
/arrow/cpp/src/arrow/util/memory.cc should remove these lines:
/arrow/cpp/src/arrow/util/thread-pool.h should add these lines:
/arrow/cpp/src/arrow/util/thread-pool.h should remove these lines:
- #include <cstdlib> // lines 25-25
- #include <string> // lines 29-29
/arrow/cpp/src/arrow/util/thread-pool.cc should add these lines:
#include <cstdlib> // for size_t
/arrow/cpp/src/arrow/util/thread-pool.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/util/utf8.cc should add these lines:
#include <bits/exception.h> // for exception
/arrow/cpp/src/arrow/util/utf8.cc should remove these lines:
- #include <stdexcept> // lines 21-21
- #include <utility> // lines 22-22
/arrow/cpp/src/arrow/vendored/datetime/tz.h should add these lines:
#include <cstdint> // for int32_t
#include <iterator> // for forward_iterator_tag
#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 126-126
- #include <sstream> // lines 130-130
- namespace arrow_vendored { namespace date { namespace detail { struct undocumented; } } } // lines 162-162
/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 <cwchar> // lines 104-104
- #include <exception> // lines 105-105
- #include <iostream> // lines 107-107
- #include <sstream> // lines 113-113
- #include <tuple> // lines 115-115
- #include "visibility.h" // lines 34-34
/arrow/cpp/src/arrow/compute/expression.h should add these lines:
/arrow/cpp/src/arrow/compute/expression.h should remove these lines:
- #include <memory> // lines 20-20
- namespace arrow { namespace compute { class ExprVisitor; } } // lines 32-32
- namespace arrow { namespace compute { class LogicalType; } } // lines 31-31
- namespace arrow { namespace compute { class Operation; } } // lines 33-33
/arrow/cpp/src/arrow/compute/expression.cc should add these lines:
/arrow/cpp/src/arrow/compute/expression.cc should remove these lines:
- #include "arrow/compute/operation.h" // lines 25-25
/arrow/cpp/src/arrow/compute/logical_type.h should add these lines:
namespace arrow { class DataType; }
/arrow/cpp/src/arrow/compute/logical_type.h should remove these lines:
- #include <memory> // lines 25-25
/arrow/cpp/src/arrow/compute/logical_type.cc should add these lines:
#include <memory> // for make_shared
/arrow/cpp/src/arrow/compute/logical_type.cc should remove these lines:
- #include "arrow/util/visibility.h" // lines 30-30
/arrow/cpp/src/arrow/compute/operation.cc should add these lines:
/arrow/cpp/src/arrow/compute/operation.cc should remove these lines:
- #include <memory> // lines 20-20
- #include "arrow/util/visibility.h" // lines 23-23
/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
namespace arrow { class DataType; }
/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 DataType; }
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
namespace arrow { class DataType; }
/arrow/cpp/src/arrow/compute/kernels/boolean.cc should remove these lines:
- #include "arrow/compute/context.h" // lines 25-25
/arrow/cpp/src/arrow/compute/kernels/compare.h should add these lines:
#include <cstdint> // for int64_t
#include "arrow/status.h" // for Status
#include "arrow/type_fwd.h" // for boolean
namespace arrow { struct ArrayData; }
/arrow/cpp/src/arrow/compute/kernels/compare.h should remove these lines:
- namespace arrow { class Array; } // lines 27-27
- namespace arrow { class Status; } // lines 30-30
- namespace arrow { namespace compute { struct Datum; } } // lines 34-34
/arrow/cpp/src/arrow/compute/kernels/compare.cc should add these lines:
#include <vector> // for vector
#include "arrow/array.h" // for ArrayData
#include "arrow/buffer.h" // for Buffer
#include "arrow/scalar.h" // for Scalar
#include "arrow/type.h" // for CTypeImpl<>::type_id
#include "arrow/type_traits.h" // for TypeTraits
/arrow/cpp/src/arrow/compute/kernels/compare.cc should remove these lines:
- #include "arrow/compute/context.h" // lines 20-20
/arrow/cpp/src/arrow/compute/kernels/count.h should add these lines:
/arrow/cpp/src/arrow/compute/kernels/count.h should remove these lines:
- #include <type_traits> // lines 21-21
- #include "arrow/type.h" // lines 24-24
- #include "arrow/type_traits.h" // lines 25-25
- namespace arrow { class DataType; } // lines 31-31
/arrow/cpp/src/arrow/compute/kernels/count.cc should add these lines:
#include <cstdint> // for int64_t
#include "arrow/array.h" // for Array
#include "arrow/type.h" // for int64, DataType (ptr only)
#include "arrow/type_traits.h" // for CTypeTraits, TypeTraits...
namespace arrow { struct Scalar; }
/arrow/cpp/src/arrow/compute/kernels/count.cc should remove these lines:
/arrow/cpp/src/arrow/compute/kernels/hash.h should add these lines:
#include <cstdint> // for int32_t
/arrow/cpp/src/arrow/compute/kernels/hash.h should remove these lines:
- namespace arrow { class DataType; } // lines 30-30
- namespace arrow { struct ArrayData; } // lines 31-31
/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/string_view.h" // lines 44-44
/arrow/cpp/src/arrow/compute/kernels/filter.h should add these lines:
#include <cstdint> // for int64_t
namespace arrow { class BooleanArray; }
namespace arrow { class DataType; }
/arrow/cpp/src/arrow/compute/kernels/filter.h should remove these lines:
/arrow/cpp/src/arrow/compute/kernels/filter.cc should add these lines:
#include <vector> // for vector
#include "arrow/array.h" // for BooleanArray, Array
namespace arrow { class DataType; }
/arrow/cpp/src/arrow/compute/kernels/filter.cc should remove these lines:
- #include <limits> // lines 20-20
- #include "arrow/builder.h" // lines 24-24
- #include "arrow/util/logging.h" // lines 27-27
/arrow/cpp/src/arrow/compute/kernels/mean.h should add these lines:
/arrow/cpp/src/arrow/compute/kernels/mean.h should remove these lines:
- #include <type_traits> // lines 21-21
- #include "arrow/type.h" // lines 24-24
- #include "arrow/type_traits.h" // lines 25-25
/arrow/cpp/src/arrow/compute/kernels/mean.cc should add these lines:
#include <stddef.h> // for size_t
#include "arrow/array.h" // for Array
#include "arrow/compute/kernel.h" // for Datum
#include "arrow/compute/kernels/aggregate.h" // for AggregateFunction (p...
#include "arrow/type.h" // for CTypeImpl<>::type_id
#include "arrow/type_traits.h" // for is_floating, is_integer
namespace arrow { struct Scalar; }
/arrow/cpp/src/arrow/compute/kernels/mean.cc should remove these lines:
- #include <algorithm> // lines 20-20
/arrow/cpp/src/arrow/compute/kernels/sum.cc should add these lines:
#include <stddef.h> // for size_t
#include "arrow/array.h" // for Array
#include "arrow/compute/kernel.h" // for Datum
#include "arrow/compute/kernels/aggregate.h" // for AggregateFunction (p...
#include "arrow/status.h" // for Status, RETURN_NOT_OK
#include "arrow/type.h" // for CTypeImpl<>::type_id
#include "arrow/type_traits.h" // for is_floating, is_integer
namespace arrow { struct Scalar; }
/arrow/cpp/src/arrow/compute/kernels/sum.cc should remove these lines:
/arrow/cpp/src/arrow/compute/kernels/take.h should add these lines:
namespace arrow { class DataType; }
/arrow/cpp/src/arrow/compute/kernels/take.h should remove these lines:
/arrow/cpp/src/arrow/compute/kernels/take.cc should add these lines:
#include <vector> // for vector
#include "arrow/array.h" // for Array
#include "arrow/type.h" // for DataType (ptr only)
#include "arrow/type_traits.h" // for enable_if_integer
/arrow/cpp/src/arrow/compute/kernels/take.cc should remove these lines:
- #include <limits> // lines 18-18
- #include <utility> // lines 20-20
- #include "arrow/util/logging.h" // lines 24-24
/arrow/cpp/src/arrow/compute/kernels/util-internal.h should add these lines:
namespace arrow { class DataType; }
/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 Buffer
#include "arrow/type.h" // for FixedWidthType, DataType, Type
/arrow/cpp/src/arrow/compute/kernels/util-internal.cc should remove these lines:
/arrow/cpp/src/arrow/compute/operations/cast.h should add these lines:
#include "arrow/status.h" // for Status
namespace arrow { namespace compute { class Expr; } }
/arrow/cpp/src/arrow/compute/operations/cast.h should remove these lines:
/arrow/cpp/src/arrow/compute/operations/literal.h should add these lines:
#include "arrow/status.h" // for Status
namespace arrow { namespace compute { class Expr; } }
/arrow/cpp/src/arrow/compute/operations/literal.h should remove these lines:
/arrow/cpp/src/arrow/ipc/dictionary.cc should add these lines:
#include <vector> // for vector
/arrow/cpp/src/arrow/ipc/dictionary.cc should remove these lines:
- #include <iostream> // lines 21-21
- #include <sstream> // lines 23-23
/arrow/cpp/src/arrow/ipc/feather.cc should add these lines:
#include "arrow/status.h" // for Status, RETURN_NOT_OK
#include "arrow/type.h" // for Type, TimeUnit, TimeUnit::type
#include "arrow/type_traits.h" // for is_binary_like, is_integer
#include "arrow/util/bit-util.h" // for BytesForBits
#include "arrow/util/checked_cast.h" // for checked_cast
#include "arrow/visitor.h" // for ArrayVisitor
/arrow/cpp/src/arrow/ipc/feather.cc should remove these lines:
- #include <utility> // lines 25-25
- #include <vector> // lines 26-26
/arrow/cpp/src/arrow/ipc/json-integration.cc should add these lines:
#include <rapidjson/document.h> // for Document, Value, GenericArray
#include <rapidjson/stringbuffer.h> // for StringBuffer
#include <rapidjson/writer.h> // for Writer
#include <cstdint> // for int64_t
#include <utility> // for pair
/arrow/cpp/src/arrow/ipc/json-integration.cc should remove these lines:
- #include "arrow/array.h" // lines 24-24
/arrow/cpp/src/arrow/ipc/json-internal.h should add these lines:
#include <rapidjson/error/../rapidjson.h> // for rapidjson
#include <cstdint> // for int64_t
namespace arrow { class Array; }
namespace arrow { class Field; }
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 "arrow/json/rapidjson-defs.h" // lines 24-24
/arrow/cpp/src/arrow/ipc/json-internal.cc should add these lines:
#include <rapidjson/document.h> // for GenericMemberIterator, GenericM...
namespace arrow { class ExtensionArray; }
/arrow/cpp/src/arrow/ipc/json-internal.cc should remove these lines:
- #include <sstream> // lines 23-23
- #include <unordered_map> // lines 26-26
- #include <utility> // lines 27-27
/arrow/cpp/src/arrow/ipc/json-simple.cc should add these lines:
#include <rapidjson/document.h> // for Value, GenericValue, Document
#include <rapidjson/error/../rapidjson.h> // for SizeType, Type
#include <rapidjson/error/en.h> // for GetParseError_En
#include <rapidjson/reader.h> // for kParseFullPrecisionFlag
#include <stddef.h> // for size_t
#include <algorithm> // for fill
#include "arrow/type.h" // for Type, Int64Type, Int32Type
#include "arrow/type_traits.h" // for TypeTraits, enable_if_floa...
/arrow/cpp/src/arrow/ipc/json-simple.cc should remove these lines:
- #include "arrow/array.h" // lines 24-24
- #include "arrow/ipc/json-internal.h" // lines 26-26
- #include "arrow/util/logging.h" // lines 31-31
/arrow/cpp/src/arrow/ipc/message.cc should add these lines:
/arrow/cpp/src/arrow/ipc/message.cc should remove these lines:
- #include <flatbuffers/flatbuffers.h> // lines 26-26
- #include <algorithm> // lines 20-20
- #include <sstream> // lines 23-23
/arrow/cpp/src/arrow/ipc/metadata-internal.h should add these lines:
#include "arrow/memory_pool.h" // for default_memory_pool
#include "arrow/status.h" // for Status, RETURN_NOT_OK
/arrow/cpp/src/arrow/ipc/metadata-internal.h should remove these lines:
- #include <string> // lines 26-26
- #include <vector> // lines 27-27
/arrow/cpp/src/arrow/ipc/reader.h should add these lines:
namespace arrow { namespace ipc { class DictionaryMemo; } }
/arrow/cpp/src/arrow/ipc/reader.h should remove these lines:
- #include "arrow/ipc/dictionary.h" // lines 26-26
/arrow/cpp/src/arrow/ipc/reader.cc should add these lines:
#include "arrow/ipc/dictionary.h" // for DictionaryMemo
#include "arrow/status.h" // for Status, RETURN_NOT_OK
#include "arrow/type.h" // for field, DataType (ptr only), Fix...
#include "arrow/util/checked_cast.h" // for checked_pointer_cast
#include "arrow/util/macros.h" // for NULLPTR
namespace arrow { class ExtensionType; }
/arrow/cpp/src/arrow/ipc/reader.cc should remove these lines:
- #include <cstring> // lines 21-21
- #include <sstream> // lines 22-22
- #include <string> // lines 23-23
- #include <utility> // lines 25-25
/arrow/cpp/src/arrow/ipc/writer.cc should add these lines:
#include "arrow/memory_pool.h" // for MemoryPool (ptr only), defa...
#include "arrow/status.h" // for Status, RETURN_NOT_OK
#include "arrow/type.h" // for Schema (ptr only), Date32Array
#include "arrow/util/bit-util.h" // for RoundUpToMultipleOf8, CopyB...
#include "arrow/util/checked_cast.h" // for checked_cast
#include "arrow/visitor.h" // for ArrayVisitor
namespace arrow { class ExtensionArray; }
/arrow/cpp/src/arrow/ipc/writer.cc should remove these lines:
- #include <algorithm> // lines 20-20
- #include <sstream> // lines 24-24
- #include <utility> // lines 25-25
- #include "arrow/extension_type.h" // lines 30-30
/arrow/cpp/src/arrow/dataset/scanner.h should add these lines:
namespace arrow { namespace dataset { class Dataset; } }
namespace arrow { namespace dataset { class FileScanOptions; } }
namespace arrow { namespace dataset { class Filter; } }
/arrow/cpp/src/arrow/dataset/scanner.h should remove these lines:
/arrow/cpp/src/arrow/flight/client.h should add these lines:
namespace arrow { class Buffer; }
/arrow/cpp/src/arrow/flight/client.h should remove these lines:
- #include "arrow/ipc/reader.h" // lines 28-28
- namespace arrow { class MemoryPool; } // lines 37-37
/arrow/cpp/src/arrow/flight/client.cc should add these lines:
#include <grpc/impl/codegen/grpc_types.h> // for GRPC_ARG_INITIAL_REC...
#include <grpcpp/impl/codegen/client_context.h> // for ClientContext
#include <grpcpp/impl/codegen/config.h> // for string
#include <grpcpp/security/credentials.h> // for InsecureChannelCrede...
#include <grpcpp/support/channel_arguments.h> // for ChannelArguments
#include "arrow/flight/customize_protobuf.h" // for FlightData, protocol
#include "arrow/ipc/message.h" // for Message, Message::RE...
#include "arrow/util/config.h" // for GRPCPP_PP_INCLUDE
/arrow/cpp/src/arrow/flight/client.cc should remove these lines:
- #include <grpcpp/grpcpp.h> // lines 29-29
- #include <utility> // lines 26-26
- #include "arrow/flight/platform.h" // lines 21-21
- #include "arrow/ipc/reader.h" // lines 35-35
- #include "arrow/memory_pool.h" // lines 37-37
- #include "arrow/record_batch.h" // lines 38-38
- #include "arrow/type.h" // lines 40-40
- #include "arrow/util/logging.h" // lines 41-41
- #include "arrow/util/uri.h" // lines 42-42
- namespace arrow { namespace flight { class DoPutPayloadWriter; } } // lines 241-241
- namespace arrow { namespace flight { class GrpcIpcMessageReader; } } // lines 141-141
/arrow/cpp/src/arrow/flight/internal.h should add these lines:
namespace arrow { namespace flight { namespace protocol { class FlightData; } } }
/arrow/cpp/src/arrow/flight/internal.h should remove these lines:
- #include <memory> // lines 20-20
- #include <string> // lines 21-21
- namespace arrow { class Schema; } // lines 35-35
- namespace arrow { class Status; } // lines 36-36
- namespace arrow { namespace ipc { class Message; } } // lines 42-42
- namespace grpc { class Status; } // lines 29-29
/arrow/cpp/src/arrow/flight/internal.cc should add these lines:
#include <grpcpp/impl/codegen/status.h> // for Status, Status::OK
#include <grpcpp/impl/codegen/status_code_enum.h> // for StatusCode, INVALI...
#include <string> // for string
#include "arrow/util/config.h" // for GRPCPP_PP_INCLUDE
namespace arrow { namespace flight { namespace protocol { class FlightData; } } }
/arrow/cpp/src/arrow/flight/internal.cc should remove these lines:
/arrow/cpp/src/arrow/flight/serialization-internal.h should add these lines:
namespace arrow { namespace flight { struct FlightPayload; } }
/arrow/cpp/src/arrow/flight/serialization-internal.h should remove these lines:
/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 <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.h> // for Status, Status::OK
#include <grpcpp/impl/codegen/status_code_enum.h> // for StatusCode, INTERNAL
#include <stddef.h> // for size_t
#include <cstdint> // for int32_t, uint32_t
#include <limits> // for numeric_limits
#include <string> // for string
#include "arrow/flight/customize_protobuf.h" // for FlightDataDeserialize
#include "arrow/util/config.h" // for GRPCPP_PP_INCLUDE
namespace arrow { namespace flight { struct FlightPayload; } }
/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 Buffer; }
namespace arrow { class RecordBatchReader; }
namespace arrow { namespace flight { class ServerAuthHandler; } }
/arrow/cpp/src/arrow/flight/server.h should remove these lines:
- #include "arrow/flight/server_auth.h" // lines 27-27
- #include "arrow/ipc/dictionary.h" // lines 30-30
- #include "arrow/record_batch.h" // lines 32-32
- namespace arrow { class MemoryPool; } // lines 36-36
/arrow/cpp/src/arrow/flight/server.cc should add these lines:
#include <grpc/impl/codegen/grpc_types.h> // for GRPC_ARG_ALLOW_...
#include <grpcpp/impl/codegen/server_context.h> // for ServerContext
#include <grpcpp/impl/codegen/server_context_impl.h> // for ServerWriter
#include <grpcpp/impl/codegen/status.h> // for Status, Status::OK
#include <grpcpp/impl/codegen/status_code_enum.h> // for StatusCode, INV...
#include <grpcpp/security/server_credentials.h> // for InsecureServerC...
#include "arrow/flight/customize_protobuf.h" // for FlightData, pro...
#include "arrow/flight/server_auth.h" // for ServerAuthHandl...
#include "arrow/ipc/message.h" // for MessageReader
#include "arrow/util/config.h" // for GRPCPP_PP_INCLUDE
namespace arrow { class Buffer; }
namespace arrow { class RecordBatch; }
namespace arrow { class RecordBatchReader; }
/arrow/cpp/src/arrow/flight/server.cc should remove these lines:
- #include <signal.h> // lines 23-23
- #include <cstdint> // lines 25-25
- #include <utility> // lines 29-29
- #include "arrow/buffer.h" // lines 37-37
- #include "arrow/flight/platform.h" // lines 19-19
- #include "arrow/ipc/reader.h" // lines 39-39
- #include "arrow/memory_pool.h" // lines 41-41
- #include "arrow/record_batch.h" // lines 42-42
- #include "arrow/util/logging.h" // lines 45-45
- #include "arrow/util/stl.h" // lines 46-46
- #include "arrow/util/uri.h" // lines 47-47
- namespace arrow { namespace flight { namespace { class FlightServiceImpl; } } } // lines 213-213
/arrow/cpp/src/arrow/flight/types.h should add these lines:
#include "arrow/status.h" // for Status (ptr only), StatusDetail
/arrow/cpp/src/arrow/flight/types.h should remove these lines:
- namespace arrow { class Status; } // lines 37-37
- namespace arrow { namespace flight { class FlightClient; } } // lines 230-230
- namespace arrow { namespace flight { class FlightServerBase; } } // lines 231-231
/arrow/cpp/src/arrow/flight/types.cc should add these lines:
/arrow/cpp/src/arrow/flight/types.cc should remove these lines:
- #include <utility> // lines 22-22
- #include "arrow/flight/serialization-internal.h" // lines 24-24
/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, PyDic...
#include <listobject.h> // for PyList_Append, PyList_New
#include <longobject.h> // for PyLong_FromLongLong, PyLong...
#include <numpy/__multiarray_api.h> // for PyArray_NewFromDescr, PyArr...
#include <numpy/halffloat.h> // for NPY_HALF_NAN
#include <numpy/ndarrayobject.h> // for PyArray_SimpleNew, PyArray_...
#include <numpy/ndarraytypes.h> // for PyArray_DATA, PyArrayObject
#include <numpy/npy_common.h> // for npy_half, npy_intp, NPY_FLO...
#include <pycapsule.h> // for PyCapsule_New, PyCapsule_Ge...
#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_s...
#include <utility> // for pair
namespace arrow { namespace py { class ObjectBlock; } }
/arrow/cpp/src/arrow/python/arrow_to_pandas.cc should remove these lines:
- #include "arrow/python/config.h" // lines 48-48
- #include "arrow/python/numpy_convert.h" // lines 52-52
- #include "arrow/python/numpy_interop.h" // lines 20-20
- #include "arrow/python/python_to_arrow.h" // lines 53-53
- #include "arrow/util/string_view.h" // lines 42-42
/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 <abstract.h> // for PyObject_CallMethod
#include <assert.h> // for assert
#include <bytearrayobject.h> // for PyByteArray_AS_STRING, PyByteAr...
#include <bytesobject.h> // for PyBytes_AS_STRING, PyBytes_Check
#include <ceval.h> // for PyEval_RestoreThread, PyEval_Sa...
#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 "arrow/python/config.h" // lines 24-24
/arrow/cpp/src/arrow/python/common.cc should add these lines:
#include <cstdint> // for uint8_t
/arrow/cpp/src/arrow/python/common.cc should remove these lines:
- #include <cstdlib> // lines 20-20
/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 NULLPTR, 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_GetAttrSt...
#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, PyUnic...
#include "arrow/ipc/message.h" // for AlignStream, Message
#include "arrow/record_batch.h" // for RecordBatch, RecordBatchReader
#include "arrow/type.h" // for Int32Array, DataType, Date64...
namespace arrow { class Buffer; }
namespace arrow { namespace internal { template <typename ARROW_TYPE, typename Enable = void> class StringConverter; } }
/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/extension_type.h should add these lines:
#include <object.h> // for PyObject
#include "arrow/status.h" // for Status
namespace arrow { class Array; }
namespace arrow { class DataType; }
namespace arrow { struct ArrayData; }
/arrow/cpp/src/arrow/python/extension_type.h should remove these lines:
/arrow/cpp/src/arrow/python/extension_type.cc should add these lines:
#include <bytesobject.h> // for PyBytes_FromStringAndSize, PyBy...
#include <pyerrors.h> // for PyErr_SetString, PyErr_WriteUnr...
#include <pyport.h> // for Py_ssize_t
#include <stddef.h> // for NULL
#include <weakrefobject.h> // for PyWeakref_NewRef, PyWeakref_Che...
#include "arrow/array.h" // for ArrayData, Array (ptr only)
#include "arrow/type.h" // for DataType, Type, Type::EXTENSION
/arrow/cpp/src/arrow/python/extension_type.cc should remove these lines:
/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 <pyerrors.h> // for PyErr_Clear
#include <stddef.h> // for NULL
#include <sysmodule.h> // for PySys_WriteStderr
#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 <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 <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
#include <cstdint> // for int64_t
/arrow/cpp/src/arrow/python/numpy_convert.h should remove these lines:
- #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
#include "arrow/util/checked_cast.h" // for checked_cast
/arrow/cpp/src/arrow/python/numpy_convert.cc should remove these lines:
- #include "arrow/python/type_traits.h" // lines 35-35
/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 <utility> // lines 32-32
- #include "arrow/python/config.h" // lines 52-52
- #include "arrow/python/helpers.h" // lines 53-53
- #include "arrow/python/iterators.h" // lines 54-54
- #include "arrow/python/numpy_interop.h" // lines 23-23
- #include "arrow/python/util/datetime.h" // lines 59-59
- #include "arrow/type_fwd.h" // lines 38-38
- #include "arrow/type_traits.h" // lines 39-39
/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 <locale> // for locale
#include "arrow/buffer.h" // for Buffer
#include "arrow/ipc/message.h" // for AlignStream, Message
#include "arrow/type.h" // for Date64Builder, Field, int32
#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 "arrow/python/numpy_interop.h" // lines 19-19
- #include "arrow/python/platform.h" // lines 47-47
- #include "arrow/util/logging.h" // lines 41-41
/arrow/cpp/src/arrow/python/flight.cc should add these lines:
#include <cstdint> // for int64_t
#include <memory> // for shared_ptr
namespace arrow { class Schema; }
namespace arrow { namespace flight { struct FlightPayload; } }
/arrow/cpp/src/arrow/python/flight.cc should remove these lines:
- #include <utility> // lines 19-19
/arrow/cpp/src/parquet/arrow/reader.h should add these lines:
/arrow/cpp/src/parquet/arrow/reader.h should remove these lines:
- #include "arrow/io/interfaces.h" // lines 28-28
- #include "arrow/util/macros.h" // lines 29-29
- namespace arrow { class Array; } // lines 33-33
- namespace arrow { class MemoryPool; } // lines 35-35
- namespace arrow { class Status; } // lines 38-38
/arrow/cpp/src/parquet/arrow/reader.cc should add these lines:
#include <cxxabi.h> // for __forced_unwind
#include <functional> // for function
/arrow/cpp/src/parquet/arrow/reader.cc should remove these lines:
- #include <climits> // lines 21-21
- #include <type_traits> // lines 26-26
- #include "arrow/buffer.h" // lines 31-31
- #include "arrow/status.h" // lines 34-34
- #include "arrow/type_traits.h" // lines 37-37
- #include "parquet/types.h" // lines 50-50
- namespace parquet { namespace arrow { class PrimitiveImpl; } } // lines 86-86
- namespace parquet { namespace arrow { class RowGroupReaderImpl; } } // lines 88-88
- namespace parquet { namespace arrow { class StructImpl; } } // lines 87-87
/arrow/cpp/src/parquet/arrow/reader_internal.h should add these lines:
namespace parquet { class ColumnDescriptor; }
namespace parquet { namespace internal { class RecordReader; } }
/arrow/cpp/src/parquet/arrow/reader_internal.h should remove these lines:
- #include "parquet/column_reader.h" // lines 22-22
- #include "parquet/schema.h" // lines 23-23
/arrow/cpp/src/parquet/arrow/reader_internal.cc should add these lines:
#include <limits.h> // for CHAR_BIT
#include <string.h> // for memset, size_t
#include <cstdint> // for int64_t, uint8_t, uint64_t, int32_t
#include <type_traits> // for enable_if<>::type, is_same, enabl...
#include "arrow/table.h" // for ChunkedArray, Table (ptr only)
#include "arrow/type.h" // for Type, Decimal128Type, DataType
#include "arrow/type_traits.h" // for TypeTraits
/arrow/cpp/src/parquet/arrow/reader_internal.cc should remove these lines:
- #include "arrow/status.h" // lines 26-26
/arrow/cpp/src/parquet/arrow/schema.h should add these lines:
/arrow/cpp/src/parquet/arrow/schema.h should remove these lines:
- namespace arrow { class Status; } // lines 33-33
/arrow/cpp/src/parquet/arrow/schema.cc should add these lines:
/arrow/cpp/src/parquet/arrow/schema.cc should remove these lines:
- #include <algorithm> // lines 20-20
- #include "arrow/array.h" // lines 26-26
- #include "arrow/status.h" // lines 27-27
- #include "parquet/arrow/reader.h" // lines 32-32
/arrow/cpp/src/parquet/arrow/writer.h should add these lines:
#include <string.h> // for memcpy
/arrow/cpp/src/parquet/arrow/writer.h should remove these lines:
- namespace arrow { class MemoryPool; } // lines 34-34
- namespace arrow { class Status; } // lines 35-35
- namespace arrow { namespace io { class OutputStream; } } // lines 40-40
/arrow/cpp/src/parquet/arrow/writer.cc should add these lines:
#include "arrow/buffer-builder.h" // for TypedBufferBuilder
namespace arrow { class ExtensionArray; }
/arrow/cpp/src/parquet/arrow/writer.cc should remove these lines:
- #include "arrow/buffer.h" // lines 27-27
- #include "arrow/builder.h" // lines 28-28
- #include "arrow/status.h" // lines 30-30
- #include "parquet/deprecated_io.h" // lines 40-40
/arrow/cpp/src/parquet/bloom_filter.h should add these lines:
/arrow/cpp/src/parquet/bloom_filter.h should remove these lines:
- namespace arrow { class MemoryPool; } // lines 32-32
/arrow/cpp/src/parquet/bloom_filter.cc should add these lines:
/arrow/cpp/src/parquet/bloom_filter.cc should remove these lines:
- #include "arrow/buffer.h" // lines 21-21
- #include "arrow/memory_pool.h" // lines 22-22
/arrow/cpp/src/parquet/column_reader.h should add these lines:
/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 "parquet/encoding.h" // lines 27-27
- namespace parquet { class DictionaryPage; } // lines 50-50
/arrow/cpp/src/parquet/column_reader.cc should add these lines:
#include <bits/exception.h> // for exception
#include <string.h> // for memset
#include "arrow/array.h" // for ArrayVector, Array (ptr only)
#include "arrow/type.h" // for fixed_size_binary, DataType...
/arrow/cpp/src/parquet/column_reader.cc should remove these lines:
- #include <exception> // lines 21-21
- #include <vector> // lines 24-24
- #include "arrow/buffer.h" // lines 26-26
- #include "arrow/table.h" // lines 28-28
- #include "arrow/util/compression.h" // lines 31-31
- #include "arrow/util/ubsan.h" // lines 34-34
- #include "parquet/thrift.h" // lines 40-40
/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 "arrow/memory_pool.h" // lines 24-24
- #include "parquet/column_page.h" // lines 26-26
- #include "parquet/encoding.h" // lines 27-27
- #include "parquet/schema.h" // lines 30-30
/arrow/cpp/src/parquet/column_writer.cc should add these lines:
#include <string.h> // for memcpy
#include "arrow/memory_pool.h" // for default_memory_pool, Memory...
#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 26-26
- #include "arrow/util/compression.h" // lines 29-29
/arrow/cpp/src/parquet/deprecated_io.h should add these lines:
/arrow/cpp/src/parquet/deprecated_io.h should remove these lines:
- #include <cstdlib> // lines 26-26
- #include <cstring> // lines 27-27
- #include <string> // lines 29-29
- #include <vector> // lines 30-30
- #include "arrow/buffer.h" // lines 32-32
- #include "arrow/io/interfaces.h" // lines 33-33
- #include "arrow/io/memory.h" // lines 34-34
- #include "arrow/memory_pool.h" // lines 35-35
- #include "parquet/exception.h" // lines 37-37
- #include "parquet/types.h" // lines 39-39
/arrow/cpp/src/parquet/deprecated_io.cc should add these lines:
/arrow/cpp/src/parquet/deprecated_io.cc should remove these lines:
- #include <algorithm> // lines 20-20
- #include <cstdio> // lines 22-22
- #include <string> // lines 23-23
- #include "arrow/status.h" // lines 26-26
- #include "parquet/types.h" // lines 29-29
/arrow/cpp/src/parquet/encoding.cc should add these lines:
#include "arrow/array.h" // for BinaryArray
#include "arrow/builder.h" // for BinaryDictionary32Builder
/arrow/cpp/src/parquet/encoding.cc should remove these lines:
- #include "arrow/util/string_view.h" // lines 32-32
/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 26-26
/arrow/cpp/src/parquet/file_reader.cc should add these lines:
#include <ostream> // for operator<<, basic_ostream, strin...
/arrow/cpp/src/parquet/file_reader.cc should remove these lines:
- #include "arrow/buffer.h" // lines 27-27
- #include "arrow/status.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 25-25
- namespace arrow { class MemoryPool; } // lines 33-33
- namespace arrow { namespace io { class OutputStream; } } // lines 37-37
/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 PARQUET_THROW_NOT_OK, ParquetExce...
/arrow/cpp/src/parquet/file_writer.cc should remove these lines:
/arrow/cpp/src/parquet/metadata.h should add these lines:
/arrow/cpp/src/parquet/metadata.h should remove these lines:
- #include "arrow/util/macros.h" // lines 27-27
/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
- #include "parquet/platform.h" // lines 27-27
/arrow/cpp/src/parquet/platform.h should add these lines:
#include <cstdint> // for int64_t
#include "arrow/vendored/string_view.hpp" // for string_view
/arrow/cpp/src/parquet/platform.h should remove these lines:
/arrow/cpp/src/parquet/properties.h should add these lines:
#include <stddef.h> // for size_t
#include <cstdint> // for int64_t
#include <utility> // for pair
/arrow/cpp/src/parquet/properties.h should remove these lines:
/arrow/cpp/src/parquet/properties.cc should add these lines:
/arrow/cpp/src/parquet/properties.cc should remove these lines:
- #include "arrow/io/memory.h" // lines 23-23
/arrow/cpp/src/parquet/schema.h should add these lines:
/arrow/cpp/src/parquet/schema.h should remove these lines:
- #include "arrow/util/macros.h" // lines 31-31
- namespace parquet { namespace schema { class GroupNode; } } // lines 97-97
/arrow/cpp/src/parquet/schema.cc should add these lines:
#include <type_traits> // for enable_if, underlying_type, is_...
#include "arrow/util/macros.h" // for ARROW_PREDICT_FALSE
namespace parquet { namespace format { class SchemaElement; } }
/arrow/cpp/src/parquet/schema.cc should remove these lines:
- #include <algorithm> // lines 20-20
- #include <utility> // lines 24-24
/arrow/cpp/src/parquet/statistics.h should add these lines:
#include <stddef.h> // for size_t
namespace parquet { class ColumnDescriptor; }
/arrow/cpp/src/parquet/statistics.h should remove these lines:
- #include <algorithm> // lines 20-20
- #include "parquet/schema.h" // lines 26-26
/arrow/cpp/src/parquet/statistics.cc should add these lines:
#include "parquet/schema.h" // for ColumnDescriptor
/arrow/cpp/src/parquet/statistics.cc should remove these lines:
/arrow/cpp/src/parquet/types.h should add these lines:
/arrow/cpp/src/parquet/types.h should remove these lines:
- #include <algorithm> // lines 21-21
- #include <iterator> // lines 24-24
- namespace arrow { namespace util { class Codec; } } // lines 34-34
/arrow/cpp/src/parquet/types.cc should add these lines:
/arrow/cpp/src/parquet/types.cc should remove these lines:
- #include <cstring> // lines 20-20
- #include <iomanip> // lines 21-21
- #include <utility> // lines 25-25
- #include "arrow/util/compression.h" // lines 28-28
/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 <string> // lines 21-21
- #include "arrow/status.h" // lines 23-23
- namespace gandiva { class ConfigurationBuilder; } // lines 29-29
/arrow/cpp/src/gandiva/configuration.cc should add these lines:
/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 <llvm/IR/InstrTypes.h> // for CmpInst::Predicate
#include <llvm/IR/Instructions.h> // for ICmpInst
#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/ADT/iterator_range.h> // for iterator_range
#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/Intrinsics.h> // for getDeclaration
#include <llvm/IR/Module.h> // for Module
#include <llvm/IR/Type.h> // for Type
#include <llvm/IR/Value.h> // for Value
#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...
/arrow/cpp/src/gandiva/decimal_ir.cc should remove these lines:
- #include <sstream> // lines 18-18
- #include <utility> // lines 20-20
/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/decimal_xlarge.cc should add these lines:
#include <llvm/IR/DerivedTypes.h> // for PointerType
#include <array> // for array, array<>::...
#include <boost/core/enable_if.hpp> // for disable_if_c<>::...
#include <boost/multiprecision/cpp_int/add.hpp> // for eval_add
#include <boost/multiprecision/cpp_int/bitwise.hpp> // for eval_right_shift
#include <boost/multiprecision/number.hpp> // for operator%, opera...
#include "arrow/util/logging.h" // for DCHECK_EQ, DCHEC...
#include "gandiva/llvm_types.h" // for LLVMTypes
namespace llvm { class Type; }
/arrow/cpp/src/gandiva/decimal_xlarge.cc should remove these lines:
- #include "gandiva/logging.h" // lines 33-33
/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, opera...
#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, size_t
#include <system_error> // for error_code
#include "arrow/status.h" // for Status, ARROW_R...
namespace gandiva { class 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, NullLog
#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, Status
#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/literal_holder.h" // for ToString
#include "gandiva/llvm_types.h" // for LLVMTypes
#include "gandiva/node.h" // for Node, FieldNode, IfNode
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, Selec...
/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 <string> // for basic_string
#include "arrow/type_fwd.h" // for int64, float64, int32
#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 <string> // for string
#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 <string> // for basic_string
#include "arrow/type_fwd.h" // for float64, int32, float32
#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 <string> // for string
#include "arrow/type_fwd.h" // for utf8, int32, binary
#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 <string.h> // for memcpy
#include "arrow/buffer.h" // for ResizableBuffer
#include "arrow/status.h" // for Status
#include "arrow/util/basic_decimal.h" // for BasicDecimal128
#include "arrow/util/decimal.h" // for Decimal128
#include "gandiva/execution_context.h" // for ExecutionContext
#include "gandiva/llvm_types.h" // for LLVMTypes
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 39-39
/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_it...
#include <llvm/IR/GlobalValue.h> // for GlobalValue, GlobalValue::...
#include <llvm/IR/Instructions.h> // for PHINode, LoadInst, AllocaInst
#include <llvm/IR/Module.h> // for Module
#include <llvm/IR/Type.h> // for Type
#include <llvm/IR/Value.h> // for Value
#include <string.h> // for memset
#include "arrow/buffer.h" // for Buffer
#include "arrow/record_batch.h" // for RecordBatch
#include "arrow/status.h" // for Status, ARROW_RETURN_NOT_OK
#include "arrow/type.h" // for Type, DataType, Field, Typ...
#include "arrow/type_traits.h" // for is_binary_like, is_primitive
#include "arrow/util/bit-util.h" // for BytesForBits, GetBit, SetB...
#include "arrow/util/checked_cast.h" // for checked_cast
#include "arrow/util/logging.h" // for DCHECK, DCHECK_GT, DCHECK_NE
#include "arrow/util/variant.h" // for get
#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, Functio...
#include "gandiva/llvm_types.h" // for LLVMTypes
#include "gandiva/local_bitmaps_holder.h" // for LocalBitMapsHolder
#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 32-32
/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 "arrow/util/variant.h" // for get
#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/literal_holder.h should add these lines:
#include <cstdint> // for int16_t, int32_t, int64_t, int8_t
#include "arrow/vendored/variant.hpp" // for variant
namespace gandiva { class DecimalScalar128; }
/arrow/cpp/src/gandiva/literal_holder.h should remove these lines:
- #include <arrow/type.h> // lines 25-25
- #include <arrow/util/variant.h> // lines 23-23
- #include "gandiva/decimal_scalar.h" // lines 26-26
/arrow/cpp/src/gandiva/literal_holder.cc should add these lines:
#include "arrow/util/variant.h" // for visit
#include "gandiva/decimal_scalar.h" // for operator<<
/arrow/cpp/src/gandiva/literal_holder.cc should remove these lines:
/arrow/cpp/src/gandiva/projector.h should add these lines:
#include <cstdint> // for int64_t
#include "arrow/array.h" // for ArrayVector, ArrayData (ptr only)
#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 <ostream> // for operator<<, basic_ostream
#include <string> // for operator+, char_traits, ope...
#include "arrow/buffer.h" // for AllocateBuffer, AllocateRes...
#include "arrow/record_batch.h" // for RecordBatch
#include "arrow/status.h" // for Status, ARROW_RETURN_IF
#include "arrow/type.h" // for Field, DataType, FixedWidth...
#include "arrow/type_traits.h" // for is_binary_like, is_primitive
#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
/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/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 "arrow/util/checked_cast.h" // for checked_pointer_cast
#include "gandiva/condition.h" // for Condition
#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 "arrow/util/variant.h" // for get
#include "gandiva/gandiva_aliases.h" // for NodeVector
/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.Tc6eCy ']'
+ echo 'IWYU verification: the changes look good'
IWYU verification: the changes look good
+ exit 0
+ rm -f /tmp/arrow-cpp-iwyu.Tc6eCy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment