@Test
  public void isFastStatsSameNullStatsInNew() {
    Partition oldPartition = new Partition();
    Partition newPartition = new Partition();
    Map<String, String> oldParams = new HashMap<>();
    Map<String, String> newParams = new HashMap<>();
    long testVal = 1;
    for (String key : FAST_STATS) {
      oldParams.put(key, String.valueOf(testVal));
      newParams.put(key, null);
    }
    oldPartition.setParameters(oldParams);
    newPartition.setParameters(newParams);
    assertFalse(MetaStoreServerUtils.isFastStatsSame(oldPartition, newPartition));
  }
Verify that updateTableStatsForCreateTable() invokes calculation of table statistics when
<ol>
  <li>Stats auto source in envContext is not set</li>
  <li>Stats auto source in envContext is set to true</li>
</ol>
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/utils/TestMetaStoreServerUtils.java