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
select * from (SELECT arbitrary(x) x, y from t group by y) where x is not null
we apply the not null after the aggregation. But if this is the only aggregation, we can actually apply the not null much sooner right after scan like:
select * from (SELECT arbitrary(x) x, y from t where x is not null group by y)
bonus: do it if there are multiple "return null on null" aggs on the same field!
The text was updated successfully, but these errors were encountered:
select * from (SELECT arbitrary(x) x, y from t group by y) where x is not null
we apply the not null after the aggregation. But if this is the only aggregation, we can actually apply the not null much sooner right after scan like:
select * from (SELECT arbitrary(x) x, y from t where x is not null group by y)
bonus: do it if there are multiple "return null on null" aggs on the same field!
The text was updated successfully, but these errors were encountered: