Skip to content

Commit

Permalink
azurerm_stream_analytics_output_blob - fix type conversion for `bat…
Browse files Browse the repository at this point in the history
…ch_min_rows` (#19732)

fixes #19725
  • Loading branch information
neil-yechenwei authored Dec 20, 2022
1 parent bc27c3b commit 5c310f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func resourceStreamAnalyticsOutputBlobCreateUpdate(d *pluginsdk.ResourceData, me
}

if batchMinRows, ok := d.GetOk("batch_min_rows"); ok {
props.Properties.SizeWindow = utils.Int64(batchMinRows.(int64))
props.Properties.SizeWindow = utils.Int64(int64(batchMinRows.(int)))
}

// timeWindow and sizeWindow must be set for Parquet serialization
Expand Down

0 comments on commit 5c310f0

Please sign in to comment.