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] Consider a more robust way to handle R rendering of non-string enum values #1846

Open
johnkerl opened this issue Nov 1, 2023 · 0 comments

Comments

@johnkerl
Copy link
Member

johnkerl commented Nov 1, 2023

Tracking task for possible follow-up from #1835 (comment)

Namely:

  • SOMA uses Arrow as its data model
  • Arrow dictionary types have an index type and a value type
  • The index type is nominally int8, int16, int32, int64
  • The value type is quite general: usually string but also including various float/int widths, etc
  • TileDB-SOMA-Py supports read and write of various value-types
  • In R, factors must be string-valued
  • Taken together, this means that we can write things that we cannot read back as R factors

The above-linked discussion shows what happens when we try and fail. The status quo may be good enough; or, maybe we can do a bit more to warn the user why they are seeing non-renderable results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant