You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/05/04 08:22:00 UTC

[jira] [Commented] (PHOENIX-6453) Possible ArrayIndexOutOfBoundsException while preparing scan start key with multiple key range queries

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

ASF GitHub Bot commented on PHOENIX-6453:
-----------------------------------------

chrajeshbabu opened a new pull request #1220:
URL: https://github.com/apache/phoenix/pull/1220


   …scan start key with multiple key range queries(Rajeshbabu)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Possible ArrayIndexOutOfBoundsException while preparing scan start key with multiple key range queries
> ------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-6453
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6453
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Rajeshbabu Chintaguntla
>            Assignee: Rajeshbabu Chintaguntla
>            Priority: Major
>
> There is possible AIOOE when there are multiple key range conditions on columns in a query.
> {noformat}
> java.lang.ArrayIndexOutOfBoundsException: 25
> 	at org.apache.phoenix.util.ScanUtil.setKey(ScanUtil.java:474)
> 	at org.apache.phoenix.util.ScanUtil.setKey(ScanUtil.java:408)
> 	at org.apache.phoenix.util.ScanUtil.getKey(ScanUtil.java:380)
> 	at org.apache.phoenix.util.ScanUtil.getMinKey(ScanUtil.java:353)
> 	at org.apache.phoenix.compile.ScanRanges.create(ScanRanges.java:134)
> 	at org.apache.phoenix.compile.WhereOptimizer.pushKeyExpressionsToScan(WhereOptimizer.java:355)
> 	at org.apache.phoenix.compile.WhereCompiler.compile(WhereCompiler.java:171)
> 	at org.apache.phoenix.compile.WhereCompiler.compile(WhereCompiler.java:118)
> 	at org.apache.phoenix.compile.QueryCompiler.compileSingleFlatQuery(QueryCompiler.java:747)
> 	at org.apache.phoenix.compile.QueryCompiler.compileSingleQuery(QueryCompiler.java:674)
> 	at org.apache.phoenix.compile.QueryCompiler.compileSelect(QueryCompiler.java:251)
> 	at org.apache.phoenix.compile.QueryCompiler.compile(QueryCompiler.java:178)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableSelectStatement.compilePlan(PhoenixStatement.java:501)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableSelectStatement.compilePlan(PhoenixStatement.java:464)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$1.call(PhoenixStatement.java:306)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$1.call(PhoenixStatement.java:295)
> 	at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
> 	at org.apache.phoenix.jdbc.PhoenixStatement.executeQuery(PhoenixStatement.java:294)
> 	at org.apache.phoenix.jdbc.PhoenixStatement.executeQuery(PhoenixStatement.java:287)
> 	at org.apache.phoenix.jdbc.PhoenixStatement.execute(PhoenixStatement.java:1930)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)