Expressions: expose ConvertDataFramesToResults (#83805)

This commit is contained in:
Ryan McKinley
2024-03-04 18:22:56 +02:00
committed by GitHub
parent 9bd84b30e9
commit 3036b50df3
13 changed files with 545 additions and 483 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ func (m *MLNode) Execute(ctx context.Context, now time.Time, _ mathexp.Vars, s *
}
// process the response the same way DSNode does. Use plugin ID as data source type. Semantically, they are the same.
responseType, result, err = convertDataFramesToResults(ctx, dataFrames, mlPluginID, s, logger)
responseType, result, err = s.converter.Convert(ctx, mlPluginID, dataFrames, s.allowLongFrames)
return result, err
}