View Source AvroUtils.Transformer (avro_utils v0.2.0)

Link to this section Summary

Functions

Converts value to BigQuery compatible json based on the avro record

Link to this section Functions

Link to this function

to_big_query(type, value, options \\ [])

View Source
@spec to_big_query(:avro.record_type(), map(), Keyword.t()) ::
  {:ok, map()} | {:error, AvroUtils.Transformer.InvalidType.t()}

Converts value to BigQuery compatible json based on the avro record

options

Options

all_fields_nullable (boolean) - Whether to consider all fields nullable. Defaults to false.