phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-4929) IndexOutOfBoundsException when casting timestamp to date
Date Wed, 06 Mar 2019 22:59:00 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-4929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16786195#comment-16786195
] 

Hudson commented on PHOENIX-4929:
---------------------------------

FAILURE: Integrated in Jenkins build Phoenix-4.x-HBase-1.3 #344 (See [https://builds.apache.org/job/Phoenix-4.x-HBase-1.3/344/])
PHOENIX-4929 IndexOutOfBoundsException when casting timestamp to date (vincentpoon: rev 41daa5e8c30162419dde65879cca70fdd26a4802)
* (edit) phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/compile/ExpressionCompiler.java
* (edit) phoenix-core/src/it/java/org/apache/phoenix/end2end/DateTimeIT.java


> IndexOutOfBoundsException when casting timestamp to date
> --------------------------------------------------------
>
>                 Key: PHOENIX-4929
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4929
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Vincent Poon
>            Assignee: Xinyi Yan
>            Priority: Major
>             Fix For: 4.15.0
>
>         Attachments: PHOENIX-4929.patch, PHOENIX-4929.patch, QueryCompilerTest.java
>
>
> java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
>  at java.util.ArrayList.rangeCheck(ArrayList.java:653)
>  at java.util.ArrayList.get(ArrayList.java:429)
>  at org.apache.phoenix.expression.function.RoundTimestampExpression.create(RoundTimestampExpression.java:76)
>  at org.apache.phoenix.compile.ExpressionCompiler.convertToRoundExpressionIfNeeded(ExpressionCompiler.java:594)
>  at org.apache.phoenix.compile.ExpressionCompiler.visitLeave(ExpressionCompiler.java:621)
>  at org.apache.phoenix.compile.ExpressionCompiler.visitLeave(ExpressionCompiler.java:1)
>  at org.apache.phoenix.parse.CastParseNode.accept(CastParseNode.java:62)
>  at org.apache.phoenix.compile.ProjectionCompiler.compile(ProjectionCompiler.java:412)
>  at org.apache.phoenix.compile.QueryCompiler.compileSingleFlatQuery(QueryCompiler.java:564)
>  at org.apache.phoenix.compile.QueryCompiler.compileSingleQuery(QueryCompiler.java:510)
>  at org.apache.phoenix.compile.QueryCompiler.compileSelect(QueryCompiler.java:195)
>  at org.apache.phoenix.compile.QueryCompiler.compile(QueryCompiler.java:155)
>  at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableSelectStatement.compilePlan(PhoenixStatement.java:490)
>  at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableSelectStatement.compilePlan(PhoenixStatement.java:1)
>  at org.apache.phoenix.jdbc.PhoenixStatement.compileQuery(PhoenixStatement.java:1745)
>  at org.apache.phoenix.jdbc.PhoenixStatement.compileQuery(PhoenixStatement.java:1738)
>  at  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message