Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-3617

Create OpenTable function by ID

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • client
    • None

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

      After implementing this to the c++ client, it should also be available in the java and python client too.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gabriellalotz Gabriella Lotz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: