hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chaoyu Tang <>
Subject Re: Review Request 55731: HIVE-15653: Some ALTER TABLE commands drop table stats
Date Tue, 24 Jan 2017 04:59:20 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Jan. 24, 2017, 4:59 a.m.)

Review request for hive and pengcheng xiong.


revised patch based on the review.

Bugs: HIVE-15653

Repository: hive-git


For most of alter table operations like table rename, add columns, change column type etc
(besides the set table properties), the table stats status should not change. But for some
other operations like update statistics, change location, the basic stats status should change.

Diffs (updated)

  metastore/src/java/org/apache/hadoop/hive/metastore/ 4aea152 
  ql/src/java/org/apache/hadoop/hive/ql/exec/ a1fb874 
  ql/src/java/org/apache/hadoop/hive/ql/parse/ 0f472e7 
  ql/src/test/queries/clientpositive/alter_table_stats_status.q PRE-CREATION 
  ql/src/test/results/clientpositive/alter_table_stats_status.q.out PRE-CREATION 



1. Manual tests
2. new unit tests


Chaoyu Tang

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message