> however, can we wrap everything into the `DropPartitionsRequest` instead of introducing 2 API methods
Hi Denys, do you mean add an API that accept the `DropPartitionsRequest` as a parameter like: List<Partition> dropPartitions(DropPartitionsRequest req) It would be the same as rest api `drop_partitions_req(DropPartitionsRequest req)`, I believe the hive client could offer a more user-friendly interface by abstracting away the need for users to manually construct the entire DropPartitionsRequest object. Additionally, using `TableName` is a clean and intuitive approach. On Wed, Jul 16, 2025 at 12:47 AM Denys Kuzmenko <dkuzme...@apache.org> wrote: > or at least replace with TableName: > > List<Partition> dropPartitions(TableName table, > RequestPartsSpec partsSpec, PartitionDropOptions options) >