@Test
  public void isFastStatsSameWithNullPartitions() {
    Partition partition = new Partition();
    assertFalse(MetaStoreServerUtils.isFastStatsSame(null, null));
    assertFalse(MetaStoreServerUtils.isFastStatsSame(null, partition));
    assertFalse(MetaStoreServerUtils.isFastStatsSame(partition, 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