----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/66188/ -----------------------------------------------------------
(Updated April 23, 2018, 10:51 p.m.) Review request for hive, Alexander Kolbasov and Yongzhi Chen. Changes ------- Address comments. Repository: hive-git Description ------- If the table contains a lot of columns e.g, 5k, simple table rename would fail with the following stack trace. The issue is datanucleus can't handle the query with lots of colName='c1' && colName='c2' && ... . I'm breaking the query into multiple smaller queries and then we aggregate the result together. Diffs (updated) ----- ql/src/test/queries/clientpositive/alter_rename_table.q 53fb230cf6 ql/src/test/results/clientpositive/alter_rename_table.q.out 732d8a28d8 standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/Batchable.java PRE-CREATION standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java 997f5fdb88 standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java 125d5a79f2 standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java 59749e4947 Diff: https://reviews.apache.org/r/66188/diff/3/ Changes: https://reviews.apache.org/r/66188/diff/2-3/ Testing ------- Manual test has been done for large column of tables. Thanks, Aihua Xu