From issues-return-4977-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Thu Mar 7 05:33:49 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8477918067C for ; Thu, 7 Mar 2019 06:33:48 +0100 (CET) Received: (qmail 9598 invoked by uid 500); 7 Mar 2019 05:33:47 -0000 Mailing-List: contact issues-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list issues@phoenix.apache.org Received: (qmail 9559 invoked by uid 99); 7 Mar 2019 05:33:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Mar 2019 05:33:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E8758180D42 for ; Thu, 7 Mar 2019 05:33:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 2_QFyOXI3Y4Z for ; Thu, 7 Mar 2019 05:33:45 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 1B81C5F10C for ; Thu, 7 Mar 2019 05:24:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7E17EE01AC for ; Thu, 7 Mar 2019 05:24:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 35AB525764 for ; Thu, 7 Mar 2019 05:24:00 +0000 (UTC) Date: Thu, 7 Mar 2019 05:24:00 +0000 (UTC) From: "Hudson (JIRA)" To: issues@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-4929) IndexOutOfBoundsException when casting timestamp to date MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PHOENIX-4929?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 786393#comment-16786393 ]=20 Hudson commented on PHOENIX-4929: --------------------------------- FAILURE: Integrated in Jenkins build PreCommit-PHOENIX-Build #2395 (See [ht= tps://builds.apache.org/job/PreCommit-PHOENIX-Build/2395/]) PHOENIX-4929 IndexOutOfBoundsException when casting timestamp to date (vinc= entpoon: rev 7dad115b1dcf7581905575cb7d858dc645a61e83) * (edit) phoenix-core/src/main/java/org/apache/phoenix/compile/ExpressionCo= mpiler.java * (edit) phoenix-core/src/it/java/org/apache/phoenix/end2end/DateTimeIT.jav= a * (edit) phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompile= rTest.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, QueryCompile= rTest.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.creat= e(RoundTimestampExpression.java:76) > at org.apache.phoenix.compile.ExpressionCompiler.convertToRoundExpressio= nIfNeeded(ExpressionCompiler.java:594) > at org.apache.phoenix.compile.ExpressionCompiler.visitLeave(ExpressionCo= mpiler.java:621) > at org.apache.phoenix.compile.ExpressionCompiler.visitLeave(ExpressionCo= mpiler.java:1) > at org.apache.phoenix.parse.CastParseNode.accept(CastParseNode.java:62) > at org.apache.phoenix.compile.ProjectionCompiler.compile(ProjectionCompi= ler.java:412) > at org.apache.phoenix.compile.QueryCompiler.compileSingleFlatQuery(Query= Compiler.java:564) > at org.apache.phoenix.compile.QueryCompiler.compileSingleQuery(QueryComp= iler.java:510) > at org.apache.phoenix.compile.QueryCompiler.compileSelect(QueryCompiler.= java:195) > at org.apache.phoenix.compile.QueryCompiler.compile(QueryCompiler.java:1= 55) > at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableSelectStatement.co= mpilePlan(PhoenixStatement.java:490) > at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableSelectStatement.co= mpilePlan(PhoenixStatement.java:1) > at org.apache.phoenix.jdbc.PhoenixStatement.compileQuery(PhoenixStatemen= t.java:1745) > at org.apache.phoenix.jdbc.PhoenixStatement.compileQuery(PhoenixStatemen= t.java:1738) > at =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)