| 1 |
/****************************************************************************** |
| 2 |
* |
| 3 |
* Project: Arrow generic code |
| 4 |
* Purpose: Arrow generic code |
| 5 |
* Author: Even Rouault, <even.rouault at spatialys.com> |
| 6 |
* |
| 7 |
****************************************************************************** |
| 8 |
* Copyright (c) 2022, Planet Labs |
| 9 |
* |
| 10 |
* SPDX-License-Identifier: MIT |
| 11 |
****************************************************************************/ |
| 12 |
|
| 13 |
#ifndef OGR_INCLUDE_ARROW_H |
| 14 |
#define OGR_INCLUDE_ARROW_H |
| 15 |
|
| 16 |
#if defined(__GNUC__) && !defined(_MSC_VER) |
| 17 |
#pragma GCC system_header |
| 18 |
#endif |
| 19 |
|
| 20 |
#ifdef _MSC_VER |
| 21 |
#pragma warning(push) |
| 22 |
// warning 4244: 'initializing': conversion from 'int32_t' to 'int16_t', |
| 23 |
// possible loss of data |
| 24 |
#pragma warning(disable : 4244) |
| 25 |
// warning C4324: 'arrow::internal::MemoryPoolStats': structure was padded |
| 26 |
// due to alignment specifier |
| 27 |
#pragma warning(disable : 4324) |
| 28 |
// warning 4458: declaration of 'type_id' hides class member |
| 29 |
#pragma warning(disable : 4458) |
| 30 |
#endif |
| 31 |
|
| 32 |
#include "arrow/array.h" |
| 33 |
#include "arrow/builder.h" |
| 34 |
#include "arrow/array/array_dict.h" |
| 35 |
#include "arrow/c/bridge.h" |
| 36 |
#include "arrow/filesystem/filesystem.h" |
| 37 |
#if ARROW_VERSION_MAJOR >= 16 |
| 38 |
#include "arrow/filesystem/filesystem_library.h" |
| 39 |
#endif |
| 40 |
#include "arrow/ipc/reader.h" |
| 41 |
#include "arrow/ipc/writer.h" |
| 42 |
#include "arrow/io/file.h" |
| 43 |
#include "arrow/memory_pool.h" |
| 44 |
#include "arrow/record_batch.h" |
| 45 |
#include "arrow/util/decimal.h" |
| 46 |
#include "arrow/util/key_value_metadata.h" |
| 47 |
#include "arrow/util/uri.h" |
| 48 |
|
| 49 |
#ifdef _MSC_VER |
| 50 |
#pragma warning(pop) |
| 51 |
#endif |
| 52 |
|
| 53 |
#endif |