Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-151

count & count distinct column on same query is not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.1.0-incubating
    • 0.1.0-incubating
    • data-query
    • 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

      Attachments

        Activity

          People

            ravi.pesala Ravindra Pesala
            mkris.reddy Krishna Reddy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: