commit 631e50017670389d361f878f91463910e4462487 Author: Daniel Dai Date: Sun Jun 11 00:10:28 2017 -0700 HIVE-16871: Fix TestCachedStore Change-Id: Ic88db667235f1a98ba80a9b73204f989b45fb941 diff --git a/metastore/src/test/org/apache/hadoop/hive/metastore/cache/TestCachedStore.java b/metastore/src/test/org/apache/hadoop/hive/metastore/cache/TestCachedStore.java index 5a3c78d..1fa9447 100644 --- a/metastore/src/test/org/apache/hadoop/hive/metastore/cache/TestCachedStore.java +++ b/metastore/src/test/org/apache/hadoop/hive/metastore/cache/TestCachedStore.java @@ -679,13 +679,13 @@ public void testSharedStorePartition() { public void testAggrStatsRepeatedRead() throws Exception { String dbName = "testTableColStatsOps"; String tblName = "tbl"; - String colName = "col"; + String colName = "f1"; Database db = new Database(dbName, null, "some_location", null); cachedStore.createDatabase(db); List cols = new ArrayList(); - cols.add(new FieldSchema("f1", "int", null)); + cols.add(new FieldSchema(colName, "int", null)); List partCols = new ArrayList(); partCols.add(new FieldSchema("col", "int", null)); StorageDescriptor sd =