[ 
https://issues.apache.org/jira/browse/PHOENIX-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gabriel Reid resolved PHOENIX-345.
----------------------------------

    Resolution: Fixed

Bulk resolve of closed issues imported from GitHub. This status was reached by 
first re-opening all closed imported issues and then resolving them in bulk.

> limit clause should be checked upon upper limit
> -----------------------------------------------
>
>                 Key: PHOENIX-345
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-345
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: Raymond Liu
>
> say Select * from t1 limit n; if n is very large, though still within 
> Integer.MAX, it will still lead to an exception which give no clue where is 
> the error. By tracking the code, you can see that 
> OrderedResultiterator.estimatedByteSize is calculated from limit number n, 
> while it will multiply with object_size etc. which limit the limit n to much 
> smaller value. This limit should be checked before hand.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to