Krishna Reddy created CARBONDATA-151:
----------------------------------------
Summary: count & count distinct column on same query is not working
Key: CARBONDATA-151
URL:
https://issues.apache.org/jira/browse/CARBONDATA-151 Project: CarbonData
Issue Type: Bug
Components: data-query
Affects Versions: 0.1.0-incubating
Environment: SUSE11SP3, standalone application with Spark 1.6.2 and Hadoop 2.7.2 version
Reporter: Krishna Reddy
Fix For: 0.1.0-incubating
count & count distinct column on same query is not working
1. Create a table
2. Load the data
3. Run the below query
select count(imei), count(distinct(imei)) from table1;
Error: org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 316.0 failed 4 times, most recent failure: Lost task 0.3 in stage 316.0 (TID 7276, BLR1000007780): java.lang.ClassCastException: org.apache.spark.unsafe.types.UTF8String cannot be cast to java.lang.Integer
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)