[
https://issues.apache.org/jira/browse/IMPALA-6365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Armstrong resolved IMPALA-6365.
-----------------------------------
Resolution: Cannot Reproduce
> Impala does not read back the numrows value set manually for kudu table.
> ------------------------------------------------------------------------
>
> Key: IMPALA-6365
> URL: https://issues.apache.org/jira/browse/IMPALA-6365
> Project: IMPALA
> Issue Type: Bug
> Affects Versions: Impala 2.8.0
> Reporter: Mala Chikka Kempanna
> Priority: Major
>
> Query: create TABLE pk_inline
> (
> col1 BIGINT PRIMARY KEY,
> col2 STRING,
> col3 BOOLEAN
> ) PARTITION BY HASH(col1) PARTITIONS 2 STORED AS KUDU
> Fetched 0 row(s) in 1.25s
> [nightly511-unsecure-2.gce.cloudera.com:21000] > show table stats pk_inline;
> Query: show table stats pk_inline
> +--------+-----------+----------+---------------------------------------------+------------+
> | # Rows | Start Key | Stop Key | Leader Replica
> | # Replicas |
> +--------+-----------+----------+---------------------------------------------+------------+
> | -1 | | 00000001 | nightly511-unsecure-1.gce.cloudera.com:7050
> | 3 |
> | -1 | 00000001 | | nightly511-unsecure-1.gce.cloudera.com:7050
> | 3 |
> +--------+-----------+----------+---------------------------------------------+------------+
> [nightly511-unsecure-2.gce.cloudera.com:21000] > alter table pk_inline set
> tblproperties ('numRows'='30000', 'STATS_GENERATED_VIA_STATS_TASK'='true');
> Query: alter table pk_inline set tblproperties ('numRows'='30000',
> 'STATS_GENERATED_VIA_STATS_TASK'='true')
> +----------------+
> | summary |
> +----------------+
> | Updated table. |
> +----------------+
> Fetched 1 row(s) in 0.23s
> [nightly511-unsecure-2.gce.cloudera.com:21000] > show table stats pk_inline;
> Query: show table stats pk_inline
> +--------+-----------+----------+---------------------------------------------+------------+
> | # Rows | Start Key | Stop Key | Leader Replica
> | # Replicas |
> +--------+-----------+----------+---------------------------------------------+------------+
> | -1 | | 00000001 | nightly511-unsecure-1.gce.cloudera.com:7050
> | 3 |
> | -1 | 00000001 | | nightly511-unsecure-1.gce.cloudera.com:7050
> | 3 |
> +--------+-----------+----------+---------------------------------------------+------------+
> Fetched 2 row(s) in 0.05s
--
This message was sent by Atlassian Jira
(v8.3.4#803005)