Skip to content

[core] Introduce Catalog.listPartitionsByNames#7340

Merged
JingsongLi merged 3 commits intoapache:masterfrom
JingsongLi:listPartsByNames
Mar 4, 2026
Merged

[core] Introduce Catalog.listPartitionsByNames#7340
JingsongLi merged 3 commits intoapache:masterfrom
JingsongLi:listPartsByNames

Conversation

@JingsongLi
Copy link
Contributor

Purpose

Get partitions by names. This can avoid obtaining all partitions.

Tests

API and Format

Documentation

Generative AI tooling

throws TableNotExistException {
return CatalogUtils.listPartitionsFromFileSystem(getTable(identifier), partitions);
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing the 1000-limit validation that RESTApi.listPartitionsByNames checkde

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The check is just for protect REST server. Lack check here is valid. Let it go.

@qingwei727
Copy link
Contributor

+1

@JingsongLi JingsongLi merged commit c846333 into apache:master Mar 4, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants