[ https://issues.apache.org/jira/browse/IMPALA-8458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16837372#comment-16837372 ]
ASF subversion and git services commented on IMPALA-8458: --------------------------------------------------------- Commit a2c5d953b0fa6d69aa34eccaa13fa9aacd31ad10 in impala's branch refs/heads/master from Tim Armstrong [ https://gitbox.apache.org/repos/asf?p=impala.git;h=a2c5d95 ] IMPALA-8121: part 2: use local catalog in containers This enables "modern" catalog features including the local catalog and HMS notification support in the dockerised minicluster by default. The flags can be overridden if needed. Skip tests affected by these bugs: * IMPALA-8486 (LibCache invalidations) * IMPALA-8458 (alter column stats) * IMPALA-7131 (data sources not supported) * IMPALA-7538 (HDFS caching DDL not supported) * IMPALA-8489 TestRecoverPartitions.test_post_invalidate fails with IllegalStateException * IMPALA-8459 (cannot drop Kudu table) * IMPALA-7539 (insert permission checks) Fix handling of table properties in _get_properties() to avoid including properties from unrelated sections. This caused problems becase of additional properties added by metastore event processing. Rewrite test_partition_ddl_predicates() to change file formats rather than use HDFS caching DDL. Update the various test_kudu_col* tests to not expect staleness of Kudu metadata for catalog V2. Fix IMPALA-8464 so that testMetaDataGetColumnComments() allows the table comment to be present, which is the new behaviour. Add a new end-to-end test test_get_tables() that tests the precise behaviour for different catalog versions so as to not lose coverage. Change-Id: I900d4b718cca98bcf86d36a2e64c0b6a424a5b7c Reviewed-on: http://gerrit.cloudera.org:8080/13226 Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> > Can't set numNull/maxSize/avgSize column stats with local catalog without > also setting NDV > ------------------------------------------------------------------------------------------ > > Key: IMPALA-8458 > URL: https://issues.apache.org/jira/browse/IMPALA-8458 > Project: IMPALA > Issue Type: Bug > Components: Catalog > Affects Versions: Impala 3.3.0 > Reporter: Tim Armstrong > Assignee: Todd Lipcon > Priority: Critical > > Repro: > {noformat} > [tarmstrong-box2.ca.cloudera.com:21000] default> create table test_stats2(s > string); > +-------------------------+ > | summary | > +-------------------------+ > | Table has been created. | > +-------------------------+ > Fetched 1 row(s) in 0.36s > [tarmstrong-box2.ca.cloudera.com:21000] default> show column stats > test_stats2; > +--------+--------+------------------+--------+----------+----------+ > | Column | Type | #Distinct Values | #Nulls | Max Size | Avg Size | > +--------+--------+------------------+--------+----------+----------+ > | s | STRING | -1 | -1 | -1 | -1 | > +--------+--------+------------------+--------+----------+----------+ > Fetched 1 row(s) in 0.02s > [tarmstrong-box2.ca.cloudera.com:21000] default> alter table test_stats2 set > column stats s('avgSize'='1234'); > +-----------------------------------------+ > | summary | > +-----------------------------------------+ > | Updated 0 partition(s) and 1 column(s). | > +-----------------------------------------+ > Fetched 1 row(s) in 0.14s > [tarmstrong-box2.ca.cloudera.com:21000] default> show column stats > test_stats2; > +--------+--------+------------------+--------+----------+----------+ > | Column | Type | #Distinct Values | #Nulls | Max Size | Avg Size | > +--------+--------+------------------+--------+----------+----------+ > | s | STRING | -1 | -1 | -1 | -1 | > +--------+--------+------------------+--------+----------+----------+ > Fetched 1 row(s) in 0.02s > [tarmstrong-box2.ca.cloudera.com:21000] default> alter table test_stats2 set > column stats s('maxSize'='1234'); > +-----------------------------------------+ > | summary | > +-----------------------------------------+ > | Updated 0 partition(s) and 1 column(s). | > +-----------------------------------------+ > Fetched 1 row(s) in 0.10s > [tarmstrong-box2.ca.cloudera.com:21000] default> show column stats > test_stats2; > +--------+--------+------------------+--------+----------+----------+ > | Column | Type | #Distinct Values | #Nulls | Max Size | Avg Size | > +--------+--------+------------------+--------+----------+----------+ > | s | STRING | -1 | -1 | -1 | -1 | > +--------+--------+------------------+--------+----------+----------+ > Fetched 1 row(s) in 0.02s > [tarmstrong-box2.ca.cloudera.com:21000] default> invalidate metadata > test_stats2; > Fetched 0 row(s) in 0.03s > [tarmstrong-box2.ca.cloudera.com:21000] default> show column stats > test_stats2; > Query: show column stats test_stats2 > +--------+--------+------------------+--------+----------+----------+ > | Column | Type | #Distinct Values | #Nulls | Max Size | Avg Size | > +--------+--------+------------------+--------+----------+----------+ > | s | STRING | -1 | -1 | -1 | -1 | > +--------+--------+------------------+--------+----------+----------+ > Fetched 1 row(s) in 0.07s > {noformat} > I expected that the updates would take effect. Weirdly it doesn't happen for > NDV and NULLS: > {noformat} > [tarmstrong-box2.ca.cloudera.com:21000] default> alter table test_stats2 set > column stats s('numDVs'='1234','numNulls'='12345'); > Query: alter table test_stats2 set column stats > s('numDVs'='1234','numNulls'='12345') > +-----------------------------------------+ > | summary | > +-----------------------------------------+ > | Updated 0 partition(s) and 1 column(s). | > +-----------------------------------------+ > Fetched 1 row(s) in 0.12s > [tarmstrong-box2.ca.cloudera.com:21000] default> show column stats > test_stats2; > Query: show column stats test_stats2 > +--------+--------+------------------+--------+----------+----------+ > | Column | Type | #Distinct Values | #Nulls | Max Size | Avg Size | > +--------+--------+------------------+--------+----------+----------+ > | s | STRING | 1234 | 12345 | -1 | -1 | > +--------+--------+------------------+--------+----------+----------+ > Fetched 1 row(s) in 0.02s > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org