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

ASF subversion and git services commented on KUDU-3743:
-------------------------------------------------------

Commit 55b63f0724695f24158574a1c246238405931eb2 in kudu's branch 
refs/heads/master from Marton Greber
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=55b63f072 ]

KUDU-3743 Add table statistics to Python client

Wrap KuduTableStatistics and KuduClient::GetTableStatistics in the
Python client, exposing on_disk_size, live_row_count,
on_disk_size_limit, and live_row_count_limit as read-only properties on
a new TableStatistics class.

Change-Id: Ia7b36f62a4ef018e0e08e83ad04d451ca1c1dcd7
Reviewed-on: http://gerrit.cloudera.org:8080/24051
Tested-by: Marton Greber <[email protected]>
Reviewed-by: Alexey Serbin <[email protected]>
Reviewed-by: Gabriella Lotz <[email protected]>


> Table Statistics (KuduTableStatistics)
> --------------------------------------
>
>                 Key: KUDU-3743
>                 URL: https://issues.apache.org/jira/browse/KUDU-3743
>             Project: Kudu
>          Issue Type: Sub-task
>          Components: python
>            Reporter: Marton Greber
>            Priority: Major
>
> C++ API: {{{}KuduClient::GetTableStatistics(table_name, &stats){}}}, 
> {{{}KuduTableStatistics::on_disk_size(){}}}, {{{}live_row_count(){}}}, 
> {{{}on_disk_size_limit(){}}}, {{{}live_row_count_limit(){}}}.
> What to add:
>  * {{KuduTableStatistics}} declaration in pxd
>  * {{Client.get_table_statistics(name)}} returning a new Python 
> {{TableStatistics}} class with {{{}on_disk_size{}}}, {{{}live_row_count{}}}, 
> and limit properties



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

Reply via email to