Repository: hive
Updated Branches:
  refs/heads/master ea5999724 -> 80c9c2efd


HIVE-16871: CachedStore.get_aggr_stats_for has side affect (Daniel Dai, 
reviewed by Thejas Nair)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/80c9c2ef
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/80c9c2ef
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/80c9c2ef

Branch: refs/heads/master
Commit: 80c9c2efd44a9a736afa11308832ed4801a9746d
Parents: ea59997
Author: Daniel Dai <da...@hortonworks.com>
Authored: Sun Jun 11 15:39:23 2017 -0700
Committer: Daniel Dai <da...@hortonworks.com>
Committed: Sun Jun 11 15:39:23 2017 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/hive/metastore/cache/TestCachedStore.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/80c9c2ef/metastore/src/test/org/apache/hadoop/hive/metastore/cache/TestCachedStore.java
----------------------------------------------------------------------
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 class TestCachedStore {
   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<FieldSchema> cols = new ArrayList<FieldSchema>();
-    cols.add(new FieldSchema("f1", "int", null));
+    cols.add(new FieldSchema(colName, "int", null));
     List<FieldSchema> partCols = new ArrayList<FieldSchema>();
     partCols.add(new FieldSchema("col", "int", null));
     StorageDescriptor sd =

Reply via email to