-
Notifications
You must be signed in to change notification settings - Fork 96
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
Add first last any aggs #1141
Add first last any aggs #1141
Conversation
…ddFirstLastAnyAggs
…ddFirstLastAnyAggs
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.
I'd like us to tweak the serialization of the column so that the virtual columns isn't serialized if empty. Alternatively instead of defaulting to empty set you could default to null, which I believe will avoid serializing the virtual columns as well.
VirtualColumnType getType(); | ||
|
||
/** | ||
* Get the expression of the virtual column in the response. |
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.
I suspect we should pull this from the interface, since the expression virtual column may be the only one that uses it.
Obviously I'm speculating since there's exactly one. But I like your instinct to make a type to avoid refactoring interfaces later.
|
||
import org.joda.time.Interval; | ||
|
||
import java.util.Collection; | ||
import java.util.Optional; | ||
import java.util.*; |
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.
your IDE is globbing imports when it shouldn't. There's a setting for this in IDEA assuming that's what you're using.
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.