[
https://issues.apache.org/jira/browse/CARBONDATA-1374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
cen yuhai reassigned CARBONDATA-1374:
-------------------------------------
Assignee: cen yuhai
> Can't insert carbon if the source table contains array data
> -----------------------------------------------------------
>
> Key: CARBONDATA-1374
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-1374> Project: CarbonData
> Issue Type: Bug
> Reporter: cen yuhai
> Assignee: cen yuhai
>
> {code}
> Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:872)
> at java.lang.StringBuilder.substring(StringBuilder.java:72)
> at scala.collection.mutable.StringBuilder.substring(StringBuilder.scala:166)
> at org.apache.carbondata.spark.util.CarbonScalaUtil$.getString(CarbonScalaUtil.scala:126)
> at org.apache.carbondata.spark.rdd.CarbonBlockDistinctValuesCombineRDD$$anonfun$internalCompute$1.apply$mcVI$sp(CarbonGlobalDictionaryRDD.scala:295)
> at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:160)
> at org.apache.carbondata.spark.rdd.CarbonBlockDistinctValuesCombineRDD.internalCompute(CarbonGlobalDictionaryRDD.scala:294)
> at org.apache.carbondata.spark.rdd.CarbonRDD.compute(CarbonRDD.scala:50)
> at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:331)
> at org.apache.spark.rdd.RDD.iterator(RDD.scala:295)
> at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:97)
> at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:53)
> at org.apache.spark.scheduler.Task.run(Task.scala:104)
> at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:351)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)