You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2017/01/06 23:26:58 UTC
[jira] [Commented] (PHOENIX-153) Implement TABLESAMPLE clause
[ https://issues.apache.org/jira/browse/PHOENIX-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15806135#comment-15806135 ]
James Taylor commented on PHOENIX-153:
--------------------------------------
Another potential means of doing sampling (as pointed out by [~lhofhansl]) is when a table is salted. Given that a salt is limited to a single byte, this may not work that well. However, if multiple bytes could be specified (PHOENIX-3574), that would be a good option.
> Implement TABLESAMPLE clause
> ----------------------------
>
> Key: PHOENIX-153
> URL: https://issues.apache.org/jira/browse/PHOENIX-153
> Project: Phoenix
> Issue Type: Task
> Reporter: James Taylor
> Labels: enhancement
>
> Support the standard SQL TABLESAMPLE clause by implementing a filter that uses a skip next hint based on the region boundaries of the table to only return n rows per region.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)