You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Dan Burkert (JIRA)" <ji...@apache.org> on 2016/11/22 23:10:59 UTC
[jira] [Commented] (KUDU-1153) API should allow introspection of
current split points
[ https://issues.apache.org/jira/browse/KUDU-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15688236#comment-15688236 ]
Dan Burkert commented on KUDU-1153:
-----------------------------------
I think this is covered by the recent {{KuduTable.getFormattedRangePartitions}} API introduced in 6be3f328a07c1748c4928e87e28b62e6b07c1e4d. Feel free to re-open if something else is needed.
> API should allow introspection of current split points
> ------------------------------------------------------
>
> Key: KUDU-1153
> URL: https://issues.apache.org/jira/browse/KUDU-1153
> Project: Kudu
> Issue Type: Improvement
> Components: api, client, impala
> Affects Versions: Private Beta
> Reporter: Martin Grund
> Assignee: Dan Burkert
>
> Impala needs a way to do introspection on the partition schema to give the use a reasonable "SHOW CREATE TABLE". For Hash bucketed tables this can be achieved, but for range partitioned tables it is not possible.
> One solution would be to iterate over all the tablets and fetch the stop partition keys and extract the range component, however, this would require the PartitionSchema to have a method to decode a PartialRow from byte[].
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)