apache / apache/arrow

[R][Wasm] Fix Error: thread constructor failed: Not supported under Wasm

Open
#49,995 0 comments 0 reactions 1 assignee Claimed by @amoeba View on GitHub
Component: R Type: bug
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the bug, including details regarding any error messages, version, and platform.

When I run `read_parquet` in a Wasm environment, I get,

> Error: thread constructor failed: Not supported

and the call returns a `data.frame` despite being called with `as_data_frame = FALSE`.

```r
> library(arrow)
> penguins <- read_parquet("/data/penguins.parquet", as_data_frame = FALSE)
Some features are not enabled in this build of Arrow. Run `arrow_info()` for more information.

Attaching package: ‘arrow’

The following object is masked from ‘package:utils’:

timestamp

Error: thread constructor failed: Not supported
```

### Component(s)

R

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.