phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Taylor <jamestay...@apache.org>
Subject Re: Reverse scan
Date Tue, 02 Dec 2014 05:13:41 GMT
Yes, as Ted points out, Phoenix will use a reverse scan to optimize an ORDER BY.

On Mon, Dec 1, 2014 at 7:52 PM, Ted Yu <yuzhihong@gmail.com> wrote:
> Please take a look at BaseQueryPlan#iterator():
>
>         if (OrderBy.REV_ROW_KEY_ORDER_BY.equals(orderBy)) {
>
>             ScanUtil.setReversed(scan);
>
> Cheers
>
> On Mon, Dec 1, 2014 at 7:45 PM, Krishna <research800@gmail.com> wrote:
>
>> Hi,
>>
>> Does Phoenix support reverse scan as explained in HBASE-4811 (
>> https://issues.apache.org/jira/browse/HBASE-4811).
>>

Mime
View raw message