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

compaction on table having range column after altering data type from string to long string fails.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • core, spark-integration
    • None

    Description

      When dataType of a String column which is also provided as range column in table properties is altered to longStringColumn. It shows following error while performing compaction on the table.

       

      VARCHAR not supported for the filter expression; at org.apache.spark.sql.util.CarbonException$.analysisException (CarbonException.scala: 23) at org.apache.carbondata.spark.rdd.CarbonMergerRDD $$ anon $ 1. <init> (CarbonMergerRDD.scala: 227) at org.apache.carbondata.spark.rdd.CarbonMergerRDD.internalCompute ( CarbonMergerRDD.scala: 104) at org.apache.carbondata.spark.rdd.CarbonRDD.compute

      Attachments

        Activity

          People

            Unassigned Unassigned
            Karan980 Karan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 50m
                3h 50m