Skip to content

REST: Add pagination support for list_namespaces#3347

Merged
kevinjqliu merged 2 commits into
apache:mainfrom
ebyhr:ebi/rest-page
May 23, 2026
Merged

REST: Add pagination support for list_namespaces#3347
kevinjqliu merged 2 commits into
apache:mainfrom
ebyhr:ebi/rest-page

Conversation

@ebyhr
Copy link
Copy Markdown
Member

@ebyhr ebyhr commented May 9, 2026

Rationale for this change

Follows REST catalog spec:

Are these changes tested?

Yes, includes unit tests for paginated cases.

Are there any user-facing changes?

  • Before: returned incomplete namespace list when server paginated (only first page)
  • After: returns complete namespace list (fetches all pages)

@ebyhr ebyhr marked this pull request as draft May 11, 2026 04:20
@ebyhr ebyhr marked this pull request as ready for review May 19, 2026 22:15
Copy link
Copy Markdown
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

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

LGTM

minor nit on consistency when using query params

Comment thread pyiceberg/catalog/rest/__init__.py Outdated
Comment thread pyiceberg/catalog/rest/__init__.py Outdated
Co-authored-by: Kevin Liu <kevinjqliu@users.noreply.github.com>
@kevinjqliu kevinjqliu merged commit 62e393f into apache:main May 23, 2026
16 checks passed
@kevinjqliu
Copy link
Copy Markdown
Contributor

Thanks @ebyhr !

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