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.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.1.0
    • Component/s: core, spark-integration
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              Karan980 Karan

              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

                  Issue deployment