Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.1.0-incubating
-
None
-
SUSE11SP3, standalone application with Spark 1.6.2 and Hadoop 2.7.2 version
Description
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