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

Field names of numpy structured arrays are lost #570

Open
SleepingPills opened this issue May 16, 2021 · 1 comment
Open

Field names of numpy structured arrays are lost #570

SleepingPills opened this issue May 16, 2021 · 1 comment
Milestone

Comments

@SleepingPills
Copy link

The fixed length attributes are very useful in TileDB, unfortunately the field names aren't preserved for some reason. When the schema is created, all field names get turned into strings like 'f0', 'f1', 'f2'...

@ihnorton ihnorton transferred this issue from TileDB-Inc/TileDB May 17, 2021
@ihnorton ihnorton added this to the 1.0 milestone May 25, 2021
@ihnorton
Copy link
Member

Hi @SleepingPills, thanks for the suggestion. Currently TileDB doesn't have a way to name individual cells in a multi-cell attribute. We could record the names and reproduce when recreating the numpy dtype on read, but that will require several other changes -- I will keep this open and in mind while refactoring.

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

2 participants