Github user BJangir commented on the issue:
https://github.com/apache/carbondata/pull/1724
@geetikagupta16 , please handle filter columns also . for example . select
country ,sum( case when year=2010 salary else 0 end) from tbl where year=2010
or year=2011 group by country. in this case aggregate datamap should have
country,year ,salary columns . ---
