feat: Add function defs to DataStream DSL

This commit is contained in:
John Colvin committed 2025-11-15 12:42:39 -05:00
1 parent 0550078de0
commit 03294ffe37
55 files changed
+3332 -259

No files matched your search

@@ -109,7 +109,7 @@ public class DataStreamPublisherService : IHostedService, IDisposable {
try {
Log.Gen.info($"Building ViewStream: {streamExpression}");
var exp = DataStreamExpressionsInterpreter.Evaluate(streamExpression);
return exp.getView(new Dictionary<string, StatementExpression>(0), streamFactory);
return exp.Evaluate(streamFactory) as ViewStream;
} catch (Exception ex) {
Log.assert(false, $"Could not build stream. expression: {streamExpression}; ex: {ex}");
return null;