@Test
  public void isFastStatsSameWithNoMatchingStats() {
    Partition oldPartition = new Partition();
    Map<String, String> stats = new HashMap<>();
    oldPartition.setParameters(stats);
    assertFalse(MetaStoreServerUtils.isFastStatsSame(oldPartition, null));
    stats.put("someKeyThatIsNotInFastStats","value");
    oldPartition.setParameters(stats);
    assertFalse(MetaStoreServerUtils.isFastStatsSame(oldPartition, null));
  }
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