Github user ajantha-bhat commented on the issue:
https://github.com/apache/carbondata/pull/2664
@jackylk : Query result count is more than actual rows in this scenario as same sort_temp file is referred in multiple batches. Say If the CSV rows count is 2million, Query output is more than 2 million.
I have modified title. PR is ready. please check
---