tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seungun Choe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TAJO-258) when string data has some 'NULL', Run order by query causes 'java.lang.StringIndexOutOfBoundsException: String index out of range: 0'
Date Wed, 16 Oct 2013 06:09:41 GMT
Seungun Choe created TAJO-258:
---------------------------------

             Summary: when string data has some 'NULL', Run order by query causes 'java.lang.StringIndexOutOfBoundsException:
String index out of range: 0'
                 Key: TAJO-258
                 URL: https://issues.apache.org/jira/browse/TAJO-258
             Project: Tajo
          Issue Type: Bug
            Reporter: Seungun Choe


{code}
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
        at java.lang.String.charAt(String.java:686)
        at org.apache.tajo.engine.planner.RangePartitionAlgorithm.computeCardinality(RangePartitionAlgorithm.java:85)
        at org.apache.tajo.engine.planner.RangePartitionAlgorithm.computeCardinalityForAllColumns(RangePartitionAlgorithm.java:107)
        at org.apache.tajo.engine.planner.RangePartitionAlgorithm.<init>(RangePartitionAlgorithm.java:47)
        at org.apache.tajo.engine.planner.UniformRangePartition.<init>(UniformRangePartition.java:47)
        at org.apache.tajo.engine.planner.UniformRangePartition.<init>(UniformRangePartition.java:65)
        at org.apache.tajo.master.querymaster.Repartitioner.createRangePartitionedTasks(Repartitioner.java:328)
        at org.apache.tajo.master.querymaster.Repartitioner.createNonLeafTask(Repartitioner.java:303)
        at org.apache.tajo.master.querymaster.SubQuery$InitAndRequestContainer.createTasks(SubQuery.java:563)
        at org.apache.tajo.master.querymaster.SubQuery$InitAndRequestContainer.transition(SubQuery.java:438)
        at org.apache.tajo.master.querymaster.SubQuery$InitAndRequestContainer.transition(SubQuery.java:420)
        at org.apache.hadoop.yarn.state.StateMachineFactory$MultipleInternalArc.doTransition(StateMachineFactory.java:382)
        at org.apache.hadoop.yarn.state.StateMachineFactory.doTransition(StateMachineFactory.java:299)
        at org.apache.hadoop.yarn.state.StateMachineFactory.access$300(StateMachineFactory.java:43)
        at org.apache.hadoop.yarn.state.StateMachineFactory$InternalStateMachine.doTransition(StateMachineFactory.java:445)
        at org.apache.tajo.master.querymaster.SubQuery.handle(SubQuery.java:397)
        at org.apache.tajo.master.querymaster.Query$SubQueryCompletedTransition.transition(Query.java:306)
        at org.apache.tajo.master.querymaster.Query$SubQueryCompletedTransition.transition(Query.java:289)
        at org.apache.hadoop.yarn.state.StateMachineFactory$MultipleInternalArc.doTransition(StateMachineFactory.java:382)
        at org.apache.hadoop.yarn.state.StateMachineFactory.doTransition(StateMachineFactory.java:299)
        at org.apache.hadoop.yarn.state.StateMachineFactory.access$300(StateMachineFactory.java:43)
        at org.apache.hadoop.yarn.state.StateMachineFactory$InternalStateMachine.doTransition(StateMachineFactory.java:445)
        at org.apache.tajo.master.querymaster.Query.handle(Query.java:448)
        at org.apache.tajo.master.querymaster.Query.handle(Query.java:54)
        at org.apache.tajo.master.TajoAsyncDispatcher.dispatch(TajoAsyncDispatcher.java:137)
        at org.apache.tajo.master.TajoAsyncDispatcher$1.run(TajoAsyncDispatcher.java:79)
        at java.lang.Thread.run(Thread.java:662)
{code}

I think Tajo don't know how to sort null values. may be...



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message