Skip to content

[R] Allow Parquet and Arrow Dataset to be optional components #27592

@asfimport

Description

@asfimport

Parquet requires thrift and it seems that thrift (at least as of version 0.12) does not compile on Solaris:

/export/home/X1svPYR/Rtemp/RtmptF1MlN/file75097d284891/thrift_ep-prefix/src/thrift_ep/lib/cpp/src/thrift/transport/THttpServer.cpp:� In member function virtual void apache::thrift::transport::THttpServer::parseHeader(char*):
/export/home/X1svPYR/Rtemp/RtmptF1MlN/file75097d284891/thrift_ep-prefix/src/thrift_ep/lib/cpp/src/thrift/transport/THttpServer.cpp:50:74:� error: �strcasestr was not declared in this scope
   #define THRIFT_strcasestr(haystack, needle) strcasestr(haystack, needle)
                                                                          ^�
/export/home/X1svPYR/Rtemp/RtmptF1MlN/file75097d284891/thrift_ep-prefix/src/thrift_ep/lib/cpp/src/thrift/transport/THttpServer.cpp:62:9:� �note: �in expansion of macro THRIFT_strcasestrif (THRIFT_strcasestr(value, "chunked") != NULL) {

(along with some boost endian header deprecation warnings)

We could debug/patch that, or we could also make Parquet an optional feature in the R bindings. That might have some value anyway so that one could build a lighter/minimal R package, if that were helpful.

Reporter: Neal Richardson / @nealrichardson
Assignee: Ian Cook / @ianmcook

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-11735. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions