Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Commit e75ec9f

Browse files
committed
Backports for apache-arrow 0.14.0
1 parent ef85601 commit e75ec9f

File tree

163 files changed

+12826
-7141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+12826
-7141
lines changed

README.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
1-
# Apache Arrow
1+
# Apache Arrow 0.14.0
22

3-
Backported with https://github.com/r-windows/rtools-backports
3+
Backports for the R legacy toolchain [lib-4.9.3](lib-4.9.3) built with [rtools-backports](https://github.com/r-windows/rtools-backports/blob/master/mingw-w64-arrow/PKGBUILD).
44

5-
Now fully supports parquet (compile with `-DARROW_R_WITH_PARQUET`).
5+
Now supports parquet (thrift) and snappy. Example flags to compile and link the R bindings:
6+
7+
```
8+
PKG_CPPFLAGS = -I$(ARROW_INCLUDE) \
9+
-DARROW_R_WITH_ARROW -DARROW_R_WITH_PARQUET \
10+
-DARROW_STATIC -DPARQUET_STATIC
11+
12+
CXX_STD = CXX11
13+
14+
PKG_LIBS = \
15+
-L$(ARROW_LIBS) \
16+
-lparquet -larrow -lthrift \
17+
-lboost_system-mt-s -lboost_filesystem-mt-s -lboost_regex-mt-s \
18+
-ldouble-conversion -lsnappy -lz -lws2_32
19+
```
20+
21+
The easiest way to test this is using the R package from the [arrow-r-dev](https://github.com/jeroen/arrow-r-dev) repository:
22+
23+
```r
24+
remotes::install_github("jeroen/arrow-r-dev")
25+
```
26+
27+
The upstream R bindings require the libarrow verion from the master branch so it is typically broken.

include/arrow/api.h

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,22 @@
2020
#ifndef ARROW_API_H
2121
#define ARROW_API_H
2222

23-
#include "arrow/array.h" // IYWU pragma: export
24-
#include "arrow/buffer.h" // IYWU pragma: export
25-
#include "arrow/builder.h" // IYWU pragma: export
26-
#include "arrow/compare.h" // IYWU pragma: export
27-
#include "arrow/extension_type.h" // IYWU pragma: export
28-
#include "arrow/memory_pool.h" // IYWU pragma: export
29-
#include "arrow/pretty_print.h" // IYWU pragma: export
30-
#include "arrow/record_batch.h" // IYWU pragma: export
31-
#include "arrow/status.h" // IYWU pragma: export
32-
#include "arrow/table.h" // IYWU pragma: export
33-
#include "arrow/table_builder.h" // IYWU pragma: export
34-
#include "arrow/tensor.h" // IYWU pragma: export
35-
#include "arrow/type.h" // IYWU pragma: export
36-
#include "arrow/util/config.h" // IYWU pragma: export
37-
#include "arrow/visitor.h" // IYWU pragma: export
23+
#include "arrow/array.h" // IYWU pragma: export
24+
#include "arrow/buffer.h" // IYWU pragma: export
25+
#include "arrow/builder.h" // IYWU pragma: export
26+
#include "arrow/compare.h" // IYWU pragma: export
27+
#include "arrow/extension_type.h" // IYWU pragma: export
28+
#include "arrow/memory_pool.h" // IYWU pragma: export
29+
#include "arrow/pretty_print.h" // IYWU pragma: export
30+
#include "arrow/record_batch.h" // IYWU pragma: export
31+
#include "arrow/status.h" // IYWU pragma: export
32+
#include "arrow/table.h" // IYWU pragma: export
33+
#include "arrow/table_builder.h" // IYWU pragma: export
34+
#include "arrow/tensor.h" // IYWU pragma: export
35+
#include "arrow/type.h" // IYWU pragma: export
36+
#include "arrow/util/config.h" // IYWU pragma: export
37+
#include "arrow/util/key_value_metadata.h" // IWYU pragma: export
38+
#include "arrow/visitor.h" // IYWU pragma: export
3839

3940
/// \brief Top-level namespace for Apache Arrow C++ API
4041
namespace arrow {}

0 commit comments

Comments
 (0)