@Override
  public void alter_partitions(
      String dbName,
      String tblName,
      List<Partition> newParts,
      EnvironmentContext environmentContext)
      throws TException {
    client.alter_partitions_with_environment_context(dbName, tblName, newParts, environmentContext);
  }
Get number of partitions matching specified filter

@param dbName the database name
@param tblName the table name
@param filter the filter string, for example "part1 = \"p1_abc\" and part2 <= "\p2_test\"".
    Filtering can be done only on string partition keys.
@return number of partitions
@throws MetaException
@throws NoSuchObjectException
@throws TException
amoro-format-mixed/amoro-mixed-trino/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java