AvroWriteSettings Class

Avro write settings.

Constructor

AvroWriteSettings(*args: Any, **kwargs: Any)

Variables

Name Description
record_name
str

Top level record name in write result, which is required in AVRO spec.

record_namespace
str

Record namespace in the write result.

max_rows_per_file
any

Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer).

file_name_prefix
any

Specifies the file name pattern <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string).

type
str

The write setting type. Required. Default value is "AvroWriteSettings".

Attributes

file_name_prefix

Specifies the file name pattern <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string).

file_name_prefix: Any | None

max_rows_per_file

Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer).

max_rows_per_file: Any | None

record_name

Top level record name in write result, which is required in AVRO spec.

record_name: str | None

record_namespace

Record namespace in the write result.

record_namespace: str | None

type

The write setting type. Required. Default value is "AvroWriteSettings".

type: Literal['AvroWriteSettings']