AzureAnalytics: Use fillmode Null with format as time series (#27054)

previously was using fillmode previous, which is not what we want here.
Also we do not have fill missing with this data source anyways
Fixes #27013
This commit is contained in:
Kyle Brandt 2020-08-19 10:42:54 -04:00 committed by GitHub
parent a1f90521a0
commit 660510084c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -184,7 +184,7 @@ func (e *AzureLogAnalyticsDatasource) executeQuery(ctx context.Context, query *A
if query.ResultFormat == "time_series" {
tsSchema := frame.TimeSeriesSchema()
if tsSchema.Type == data.TimeSeriesTypeLong {
wideFrame, err := data.LongToWide(frame, &data.FillMissing{})
wideFrame, err := data.LongToWide(frame, nil)
if err == nil {
frame = wideFrame
} else {

View File

@ -162,7 +162,7 @@ func (e *InsightsAnalyticsDatasource) executeQuery(ctx context.Context, query *I
if query.ResultFormat == "time_series" {
tsSchema := frame.TimeSeriesSchema()
if tsSchema.Type == data.TimeSeriesTypeLong {
wideFrame, err := data.LongToWide(frame, &data.FillMissing{})
wideFrame, err := data.LongToWide(frame, nil)
if err == nil {
frame = wideFrame
} else {