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 81aee3a commit a286947
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions kusto/ingest/file_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,8 @@ func IngestionMapping(mapping interface{}, format DataFormat) FileOption {
}

// IngestionMappingRef provides the name of a pre-created mapping for the data being imported to the fields in the table.
// mappingKind can only be: CSV, JSON, AVRO, Parquet or ORC, but it will be automatically converted from other types.
// For more details, see: https://docs.microsoft.com/en-us/azure/kusto/management/create-ingestion-mapping-command
// The mappingKind parameter will also automatically set the FileFormat option.
// For more details, see: https://docs.microsoft.com/azure/kusto/management/create-ingestion-mapping-command
// The formatparameter will also automatically set the FileOption.Format option.
func IngestionMappingRef(refName string, format DataFormat) FileOption {
return option{
run: func(p *properties.All) error {
Expand Down

0 comments on commit a286947

Please sign in to comment.