phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-4929) IndexOutOfBoundsException when casting timestamp to date
Date Tue, 05 Mar 2019 12:36:00 GMT

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

Hadoop QA commented on PHOENIX-4929:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12961126/PHOENIX-4929.patch
  against master branch at commit 29b6c9b1c9bf4ee4e31e31f1e618d1d8a3d351dc.
  ATTACHMENT ID: 12961126

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 3 new or modified
tests.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:red}-1 release audit{color}.  The applied patch generated 1 release audit warnings
(more than the master's current 0 warnings).

    {color:green}+1 lineLengths{color}.  The patch does not introduce lines longer than 100

     {color:red}-1 core tests{color}.  The patch failed these unit tests:
     ./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.TableDDLPermissionsIT
./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.index.MutableIndexSplitReverseScanIT
./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.DateTimeIT
./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.ConcurrentMutationsIT
./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.ChangePermissionsIT
./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.index.MutableIndexSplitForwardScanIT
./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.DerivedTableIT

Test results: https://builds.apache.org/job/PreCommit-PHOENIX-Build/2386//testReport/
Release audit warnings: https://builds.apache.org/job/PreCommit-PHOENIX-Build/2386//artifact/patchprocess/patchReleaseAuditWarnings.txt
Console output: https://builds.apache.org/job/PreCommit-PHOENIX-Build/2386//console

This message is automatically generated.

> 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
>         Attachments: 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