shamim8888 / asterixdb

Automatically exported from code.google.com/p/asterixdb
0 stars 0 forks source link

Thorough aggregation and groupby tests. #150

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We need a more complete suite of runtime and optimizer tests for aggregation 
and group by.

This includes different "runtime" versions of aggregate functions 
(scalar/aggregate), and aggregation with and without group by, with and without 
combiners. 

We should test grouping and/or aggregating on all primitive types, correct 
behavior for empty inputs, and correct behavior with NULLs.

Original issue reported on code.google.com by alexande...@gmail.com on 19 Jul 2012 at 8:05

GoogleCodeExporter commented 9 years ago

Original comment by khfaraaz82 on 19 Jul 2012 at 6:59

GoogleCodeExporter commented 9 years ago

Original comment by khfaraaz82 on 19 Nov 2012 at 4:05

GoogleCodeExporter commented 9 years ago
For now we have some tests to test aggregation and group by.

The following tests will be added to cover aggregates.

1. Aggreagte tests to do aggregation on all primitive types.
2. Test aggregate functions count(), min(), max(), sum(), avg() with no inputs.
3. Test aggregate functions count(), min(), max(), sum(), avg() with NULL(s) in 
input.

Groupby will follow once aggregates are completed.

Original comment by khfaraaz82 on 6 Dec 2012 at 7:10

GoogleCodeExporter commented 9 years ago
Correction, there is considerable coverage for aggregate functions. However, we 
will need more tests to cover group by + aggregates together. Pls ignore 
previous comment.

Original comment by khfaraaz82 on 6 Dec 2012 at 10:05