Commit 66051008 by Kyle Brandt Committed by GitHub

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
parent a1f90521
......@@ -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 {
......
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment