AvroOptions — Avro Data Source Options
AvroOptions
represents the options of the Avro data source.
Option / Key | Default Value | Description | ||
---|---|---|---|---|
|
(undefined) |
|||
|
(undefined) |
|
||
|
|
Controls whether Avro data source should read all Avro files regardless of their extension ( By default, Avro data source reads only files with
|
||
|
|
Top-level record name when writing Avro data to disk Consult Apache Avro™ 1.8.2 Specification |
||
|
(empty) |
Record namespace when writing Avro data to disk Consult Apache Avro™ 1.8.2 Specification |
Note
|
The options are case-insensitive. |
AvroOptions
is created when AvroFileFormat
is requested to inferSchema, prepareWrite and buildReader.
Creating AvroOptions Instance
AvroOptions
takes the following when created:
-
Case-insensitive configuration parameters (i.e.
Map[String, String]
) -
Hadoop Configuration