You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Unlike Select, Order, GroupBy have only GroupBy and SetGroupBy but not GroupByAppend.
Without this, we cannot add additional group by clauses - we need to get existing ones, do the append outside and then call SetGroupBy.
Describe the solution you'd like
A method on selectClauses GroupByAppend as follows:
func (c *selectClauses) GroupByAppend(cl ColumnListExpression) SelectClauses {
ret := c.clone()
ret.groupBy = ret.groupBy.Append(cl.Columns()...)
return ret
}
Also, corresponding method on SelectDataset as follows:
Is your feature request related to a problem? Please describe.
Unlike Select, Order, GroupBy have only GroupBy and SetGroupBy but not GroupByAppend.
Without this, we cannot add additional group by clauses - we need to get existing ones, do the append outside and then call SetGroupBy.
Describe the solution you'd like
A method on selectClauses GroupByAppend as follows:
Also, corresponding method on SelectDataset as follows:
Dialect
The text was updated successfully, but these errors were encountered: