We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using query container the following exception is thrown when using aggregate extension method:
System.MissingMethodException: 'Method not found: 'Void Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions
Here is the query:
var eventToSend = _eventInputStream.Multicast(ev => { return ev.Join(_meterInputStream, (evt, mtr) => new { evt, mtr }) .AlterEventDuration(StreamEvent.InfinitySyncTime) .ClipEventDuration(_eventAckInputStream, evtMtr => evtMtr.evt.Id, evtAck => evtAck.Id) .Join(ev, (evtMtr, evt) => evtMtr) .GroupApply(evtMtr => evtMtr.mtr.Key, em => em.Min((eml, emr) => eml.mtr.DateTime.Ticks.CompareTo(emr.mtr.DateTime.Ticks))); });
When .Min() is removed it will not throw. Also, when not using a QueryContainer() it will not throw.
Is it due to incompatible versions or wrong version installed?
The text was updated successfully, but these errors were encountered:
A careful application of Multicast has fixed the issue
var eventToSend = _eventInputStream.Multicast(ev => { return ev.Join(_meterInputStream, (evt, mtr) => new { evt, mtr }) .AlterEventDuration(StreamEvent.InfinitySyncTime) .ClipEventDuration(_eventAckInputStream, evtMtr => evtMtr.evt.Id, evtAck => evtAck.Id) .Join(ev, (evtMtr, evt) => evtMtr) .Multicast(evtMtr => evtMtr.Min(em => em.evt.Id).Join(evtMtr, l => l, r => r.evt.Id, (e, m) => new { e, m })); });
I imagine this is a more efficient way to do the query. Now, if someone could post examples of Pivot and Unpivot?
Sorry, something went wrong.
arunkm
No branches or pull requests
When using query container the following exception is thrown when using aggregate extension method:
System.MissingMethodException: 'Method not found: 'Void Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions
Here is the query:
var eventToSend = _eventInputStream.Multicast(ev => { return ev.Join(_meterInputStream, (evt, mtr) => new { evt, mtr }) .AlterEventDuration(StreamEvent.InfinitySyncTime) .ClipEventDuration(_eventAckInputStream, evtMtr => evtMtr.evt.Id, evtAck => evtAck.Id) .Join(ev, (evtMtr, evt) => evtMtr) .GroupApply(evtMtr => evtMtr.mtr.Key, em => em.Min((eml, emr) => eml.mtr.DateTime.Ticks.CompareTo(emr.mtr.DateTime.Ticks))); });
When .Min() is removed it will not throw. Also, when not using a QueryContainer() it will not throw.
Is it due to incompatible versions or wrong version installed?
The text was updated successfully, but these errors were encountered: