Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[r] Allow writing raw as metadata for groups and arrays #3505

Open
mojaveazure opened this issue Dec 20, 2024 · 0 comments
Open

[r] Allow writing raw as metadata for groups and arrays #3505

mojaveazure opened this issue Dec 20, 2024 · 0 comments

Comments

@mojaveazure
Copy link
Member

The R API errors out when trying to write a raw as array- or group-level meta data; this should be allowed as raw is equivalent to Python bytes

> uri <- tempfile("r-array-meta")
> arr <- SOMASparseNDArrayCreate(uri, type = arrow::int32(), shape = c(200L, 100L))
> arr$set_metadata(list(str = "test_character"))
> arr$set_metadata(list(bytes = charToRaw("test_raw")))
Error: Unsupported type 'raw'
@johnkerl johnkerl changed the title [r] Allow writing raw as meta data for groups and arrays [r] Allow writing raw as metadata for groups and arrays Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant