Skip to content

Commit

Permalink
Update azkustoingest/file_options.go
Browse files Browse the repository at this point in the history
Co-authored-by: ohad bitton <32278684+ohadbitt@users.noreply.github.com>
  • Loading branch information
AsafMah and ohadbitt committed Jun 17, 2024
1 parent f929cc8 commit d4cc03a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kusto/ingest/file_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,7 @@ func InferFormatFromFileName(fName string) DataFormat {
// IngestionMapping provides runtime mapping of the data being imported to the fields in the table.
// "ref" will be JSON encoded, so it can be any type that can be JSON marshalled. If you pass a string
// or []byte, it will be interpreted as already being JSON encoded.
// mappingKind can only be: CSV, JSON, AVRO, Parquet or ORC, but it will be automatically converted from other types.
// The mappingKind parameter will also automatically set the FileFormat option.
// The format parameter will automatically set the FileOption.Format option.
func IngestionMapping(mapping interface{}, format DataFormat) FileOption {
return option{
run: func(p *properties.All) error {
Expand Down

0 comments on commit d4cc03a

Please sign in to comment.