hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1605) TableInputFormat should support 'limit'
Date Thu, 02 Jul 2009 18:35:47 GMT

    [ https://issues.apache.org/jira/browse/HBASE-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726609#action_12726609

Jonathan Gray commented on HBASE-1605:

The 'random' N rows is possible, and what you would get now I think if you just used the limit
filter (you would specify N/M for filter not N if you wanted total to be N).  If you use one
mapper, then you get the ordered N rows.

We do lots of OFFSET, LIMIT queries on hbase.  The issue is, you must always run that style
query sequentially, especially if you have other filters that are being called before the
paging/limiting filter.

> TableInputFormat should support 'limit'
> ---------------------------------------
>                 Key: HBASE-1605
>                 URL: https://issues.apache.org/jira/browse/HBASE-1605
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: mapred
>            Reporter: Chris K Wensel
> Would be useful if TableInputFormat could be passed a 'limit' property value that limited
the total result set to the value of 'limit'.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message