You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by "Ravindra Pesala (JIRA)" <ji...@apache.org> on 2016/08/17 10:57:22 UTC

[jira] [Resolved] (CARBONDATA-151) count & count distinct column on same query is not working

     [ https://issues.apache.org/jira/browse/CARBONDATA-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravindra Pesala resolved CARBONDATA-151.
----------------------------------------
    Resolution: Fixed
      Assignee: Ravindra Pesala

https://github.com/apache/incubator-carbondata/pull/66

> 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
>            Assignee: Ravindra Pesala
>             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)