[ https://issues.apache.org/jira/browse/CARBONDATA-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] xhnqccf updated CARBONDATA-3091: -------------------------------- Description: create table carbon01(id int,label double,col1 double,col2 double) stored as 'carbondata'; when i run sql: select c1,c2 from (select docid as c1, features as c2 from ( select monotonically_increasing_id() as docid, col1 as features from carbon01) as tab) as tab1; java.util.NoSuchElementException: key not found: docid#81L at scala.collection.MapLike$class.default(MapLike.scala:228) at org.apache.spark.sql.catalyst.expressions.AttributeSet.foreach(AttributeSet.scala:120) at org.apache.spark.sql.execution.strategy.CarbonLateDecodeStrategy.pruneFilterProjectRaw(CarbonLateDecodeStrategy.scala:233) at org.apache.spark.sql.execution.strategy.CarbonLateDecodeStrategy.pruneFilterProject(CarbonLateDecodeStrategy.scala:176) at org.apache.spark.sql.execution.strategy.CarbonLateDecodeStrategy.apply(CarbonLateDecodeStrategy.scala:60) at org.apache.spark.sql.catalyst.planning.QueryPlanner$$anonfun$1.apply(QueryPlanner.scala:62) was: when i run sql: select c1,c2 from (select docid as c1, features as c2 from ( select monotonically_increasing_id() as docid, col1 as features from carbon01) as tab) as tab1; java.util.NoSuchElementException: key not found: docid#81L at scala.collection.MapLike$class.default(MapLike.scala:228) at org.apache.spark.sql.catalyst.expressions.AttributeSet.foreach(AttributeSet.scala:120) at org.apache.spark.sql.execution.strategy.CarbonLateDecodeStrategy.pruneFilterProjectRaw(CarbonLateDecodeStrategy.scala:233) at org.apache.spark.sql.execution.strategy.CarbonLateDecodeStrategy.pruneFilterProject(CarbonLateDecodeStrategy.scala:176) at org.apache.spark.sql.execution.strategy.CarbonLateDecodeStrategy.apply(CarbonLateDecodeStrategy.scala:60) at org.apache.spark.sql.catalyst.planning.QueryPlanner$$anonfun$1.apply(QueryPlanner.scala:62) > Nested query Error: java.util.NoSuchElementException: key not found > ------------------------------------------------------------------- > > Key: CARBONDATA-3091 > URL: https://issues.apache.org/jira/browse/CARBONDATA-3091 > Project: CarbonData > Issue Type: Bug > Components: spark-integration > Affects Versions: 1.3.1 > Environment: Carbon1.3.1,Spark2.1.2 > Reporter: xhnqccf > Priority: Major > > create table carbon01(id int,label double,col1 double,col2 double) stored as 'carbondata'; > when i run sql: select c1,c2 from (select docid as c1, features as c2 from ( select monotonically_increasing_id() as docid, col1 as features from carbon01) as tab) as tab1; > java.util.NoSuchElementException: key not found: docid#81L > at scala.collection.MapLike$class.default(MapLike.scala:228) > at org.apache.spark.sql.catalyst.expressions.AttributeSet.foreach(AttributeSet.scala:120) > at org.apache.spark.sql.execution.strategy.CarbonLateDecodeStrategy.pruneFilterProjectRaw(CarbonLateDecodeStrategy.scala:233) > at org.apache.spark.sql.execution.strategy.CarbonLateDecodeStrategy.pruneFilterProject(CarbonLateDecodeStrategy.scala:176) > at org.apache.spark.sql.execution.strategy.CarbonLateDecodeStrategy.apply(CarbonLateDecodeStrategy.scala:60) > at org.apache.spark.sql.catalyst.planning.QueryPlanner$$anonfun$1.apply(QueryPlanner.scala:62) > -- This message was sent by Atlassian JIRA (v7.6.3#76005) |
Free forum by Nabble | Edit this page |