public static boolean isSkipTrash(Map<String, String> tableParams) {
    if (tableParams == null) {
      return false;
    }
    return isPropertyTrue(tableParams, "skip.trash")
        || isPropertyTrue(tableParams, "auto.purge");
  }
Determines whether an table needs to be deleted completely or moved to trash directory.

@param tableParams parameters of the table

@return true if the table needs to be deleted rather than moved to trash directory
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java