karas27
karas27

Reputation: 365

generate sample(synthetic data ) in avro format based on avdl file using python

I would like to generate synthetic data to test my pipelines. is there a simple way to generate sample avro files for a given avdl file using Python?

Upvotes: 0

Views: 304

Answers (1)

Scott
Scott

Reputation: 2074

You can do this in fastavro using the generate_many helper. There is an example in the docs: https://fastavro.readthedocs.io/en/latest/utils.html#fastavro.utils.generate_many

Upvotes: 1

Related Questions