[ 
https://issues.apache.org/jira/browse/KUDU-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15563706#comment-15563706
 ] 

Matthew Jacobs commented on KUDU-1153:
--------------------------------------

This probably needs to be captured more generally once again, since now 
specifying explicit ranges is recommended in favor of split points. This is 
pretty important because Impala will support the new range syntax soon, and 
dropping partitions is mostly unusable if you cannot discover what partitions 
have been created via SHOW PARTITIONS.

> 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
>
> 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)

Reply via email to