View Source AvroUtils.BigQuery (avro_utils v0.2.0)

Link to this section Summary

Functions

Converts avro record to BigQuery table schema

Link to this section Types

@type schema() :: map()

Link to this section Functions

Link to this function

to_schema(type, options \\ [])

View Source
@spec to_schema(:avro.record_type(), Keyword.t()) ::
  {:ok, schema()} | {:error, AvroUtils.BigQuery.UnsupportedType.t()}

Converts avro record to BigQuery table schema

options

Options

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