Skip to content

A Component's DataType should embed its metadata #1696

@teh-cmc

Description

@teh-cmc

Currently we need to carry around components' metadata (e.g. ComponentName) everywhere, because the DataType in erased arrow arrays doesn't give us any information about the component type.

This is a real issue as it prevents using DataCell in more places (too much overhead if every cell carries a ComponentName).

The solution for this is arrow2's Extension datatype; but we need to improve on the ArrowField derive macro first, so that we can specify extension metadata easily... otherwise we'd have to manually implement ArrowField for everything.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions