Skip to content
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

group by should group null/empty values #512

Closed
maxd opened this issue May 7, 2014 · 1 comment
Closed

group by should group null/empty values #512

maxd opened this issue May 7, 2014 · 1 comment
Milestone

Comments

@maxd
Copy link

maxd commented May 7, 2014

Hi,

I think group by should group null/empty values.

How to reproduce:

  1. Add points to experiment series:
{"time":1399475640,"country":"RU","users":1}
{"time":1399475641,"country":null,"users":1}
{"time":1399475642,"country":null,"users":1}
  1. Check added point use query:
select * from experiment

you should see 3 rows with added points.

  1. Try to group them use query:
select country, sum(users) from experiment group by time(1m), country

Now you see:

time sum country
1399440000 1 -
1399440000 1 -
1399440000 1 RU

by I expect to see:

time sum country
1399440000 2 -
1399440000 1 RU
@jvshahid
Copy link
Contributor

jvshahid commented May 7, 2014

Good call. This is definitely a bug. Moving to 0.6.2

@jvshahid jvshahid added this to the 0.6.2 milestone May 7, 2014
@jvshahid jvshahid self-assigned this May 7, 2014
@jvshahid jvshahid modified the milestone: 0.6.2 May 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants