Skip to content

Add record_batch! macro for easy record batch creation #6553

@timsaucer

Description

@timsaucer

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

In apache/datafusion#12846 we added a macro to easily create a record batch for use in building up unit tests. It would be nice to move this upstream to this repo.

Describe the solution you'd like

Port code and optionally add remaining data types.

Describe alternatives you've considered

None

Additional context

apache/datafusion#12846

Metadata

Metadata

Assignees

Labels

arrowChanges to the arrow crateenhancementAny new improvement worthy of a entry in the changeloggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions