InsertMode Parameter (Connect-Avro Cmdlet)
The behavior when using bulk INSERTs to create Avro files.
Syntax
Connect-Avro -InsertMode string
Possible Values
create, overwrite, batchData Type
cstr
Default Value
"create"
Remarks
- Create: Set this to create a new Avro file using the table name specified in Create Table Statement. This will cause an error if a file already exists with the same file name as the new file.
- Overwrite: Set this to overwrite any exisiting Avro file with the same name as the new file.
- Batch: Set this if using BatchSize > 0. This will create multiple Avro files, each file containing data for a single batch. File names would follow the pattern: '<Timestamp>_<Table Name>_<Batch ID>.avro'.