[ 
https://issues.apache.org/jira/browse/KUDU-3617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gabriella Lotz updated KUDU-3617:
---------------------------------
    Description: 
Currently there is no function that would open a table by ID, only by the 
table's name.

A simple function to the C++ client like this could solve the issue:

Status KuduClient::OpenTableById(const string& table_id, shared_ptr<KuduTable>* 
table)

{

    TableIdentifierPB table_identifier;

    table_identifier.set_table_id(table_id);

    return data_->OpenTable(this, table_identifier, table);

}

> Create OpenTable function by ID
> -------------------------------
>
>                 Key: KUDU-3617
>                 URL: https://issues.apache.org/jira/browse/KUDU-3617
>             Project: Kudu
>          Issue Type: Improvement
>          Components: client
>            Reporter: Gabriella Lotz
>            Priority: Major
>
> Currently there is no function that would open a table by ID, only by the 
> table's name.
> A simple function to the C++ client like this could solve the issue:
> Status KuduClient::OpenTableById(const string& table_id, 
> shared_ptr<KuduTable>* table)
> {
>     TableIdentifierPB table_identifier;
>     table_identifier.set_table_id(table_id);
>     return data_->OpenTable(this, table_identifier, table);
> }



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to