Skip to content

Add custom metadata to record batches #533

Description

@rkyleg

Adding these lines at


(and replacing line 495) adds the custom metadata to the RecordBatch from the record batches message.

	customMeta, err := metadataFromFB(msg)
	if err != nil {
		panic(err)
	}
	newSchema := arrow.NewSchema(schema.Fields(), &customMeta)
	return array.NewRecordBatch(newSchema, cols, rows)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions