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 <[email protected]>
  • Loading branch information
AsafMah and ohadbitt authored Jun 16, 2024
1 parent 02ad14b commit 5098cd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azkustoingest/file_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ func InferFormatFromFileName(fName string) DataFormat {
return properties.DataFormatDiscovery(fName)
}

// 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
// IngestionMapping provides runtime mapping of the data being imported to the columns in the table.
// "mapping" 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.
// The format parameter will automatically set the FileOption.Format option.
func IngestionMapping(mapping interface{}, format DataFormat) FileOption {
Expand Down

0 comments on commit 5098cd4

Please sign in to comment.