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 d4cc03a commit 81aee3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kusto/ingest/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 81aee3a

Please sign in to comment.