-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
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
fix(pat-5034): c# - include order-by when computing group-by #210
fix(pat-5034): c# - include order-by when computing group-by #210
Conversation
Your org has enabled the Graphite merge queue for merging into mainYou must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. You can enable merging using labels in your Graphite merge queue settings. |
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
} | ||
} | ||
|
||
if (expandedSelection.Where((x) => x.GetType().Name == typeof(AggregateFieldExpr<>).Name).Any()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh, the RHS of this expression is interesting:
x.GetType().Name == typeof(AggregateFieldExpr<>).Name
Can you explain this a little bit? I'm not sure how to read it. It almost looks like the expression as a whole is acting as an existential qualifier ("there exists some type of AggregateFieldExpr whose name is equal to x.GetType().Name
").
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this is the equivalent of the x instanceof AggregateFieldExpr
.
I recall having a bit of a struggle to figure this out. Not sure if there's a more direct way to do this in C# for a template type.
c0b4f4b
to
7ade3e2
Compare
71cbc59
to
c81645a
Compare
7ade3e2
to
4d7140e
Compare
c81645a
to
b31e7ba
Compare
Merge activity
|
Merge activity
|
Test plan