Login  Register

Multiple arguments in count function.

Posted by prabhatkashyap on Nov 01, 2016; 10:25am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/Multiple-arguments-in-count-function-tp2487.html

I am able to use multiple column name and even asterisk with columns in count function. Even though it is giving me correct output but I think it should not be allowed.

select count(id,id) from emp4;
select count(id,id,name,*,*) from emp4;

As the same queries give error when executed in HIVE.

Please confirm.