You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Grant Henke (JIRA)" <ji...@apache.org> on 2017/04/05 14:34:41 UTC

[jira] [Commented] (KUDU-947) Improve documentation on how to construct various C++ client classes

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

Grant Henke commented on KUDU-947:
----------------------------------

I also ran into this a bit with KuduTable->partition_schema(). This returns the kudu common PartitionSchema which has a lot of methods that appear to be "internal usage only" since they use the Schema class instead of KuduSchema.

> Improve documentation on how to construct various C++ client classes
> --------------------------------------------------------------------
>
>                 Key: KUDU-947
>                 URL: https://issues.apache.org/jira/browse/KUDU-947
>             Project: Kudu
>          Issue Type: Bug
>          Components: client
>    Affects Versions: Public beta
>            Reporter: Mike Percy
>
> Having some issues with the client API:
> * There doesn't seem to be a way to get a KuduSchema from a Schema, since that constructor is private
> * In order to encode my splits, I need to use KuduPartialRow::EncodeKey() according to the header comments in the table builder, but KuduPartialRow is only constructible with a Schema.
> Does this mean clients are expected to use both KuduSchema and Schema when creating tables?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)