Skip to content

docs: describe REST catalog usage - #85

Merged
mrdrivingduck merged 1 commit into
polardb:v1.4-andiumfrom
mrdrivingduck:codex/docs-rest-catalog-v1.4-andium
Aug 10, 2026
Merged

docs: describe REST catalog usage#85
mrdrivingduck merged 1 commit into
polardb:v1.4-andiumfrom
mrdrivingduck:codex/docs-rest-catalog-v1.4-andium

Conversation

@mrdrivingduck

Copy link
Copy Markdown
Member

Summary

Document the local and remote Paimon query paths, including filesystem and REST catalog access.

Clarify the REST warehouse identifier, local DuckDB catalog alias, and supported bearer-token authentication.

Validation

Documentation-only change; checked the Markdown diff with git diff --check.

Copilot AI lite review requested due to automatic review settings August 10, 2026 09:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the extension’s README to more clearly document how to query Apache Paimon tables via DuckDB, distinguishing local warehouse usage from remote access patterns (filesystem vs REST catalog) and clarifying REST catalog parameters and authentication.

Changes:

  • Rename the local-warehouse section to “Query Local Paimon Tables” for clearer separation from remote usage.
  • Restructure remote querying docs into two explicit paths: “Through a Filesystem Catalog” (OSS/S3) and “Through a REST Catalog”.
  • Add a REST catalog ATTACH example and describe how ATTACH’s first argument, the local DuckDB catalog alias, and bear token authentication are interpreted.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Document local and remote query paths, including filesystem and REST
catalog access, warehouse identifiers, and bearer-token authentication.

Co-authored-by: GPT-5.6 Terra <codex@users.noreply.github.com>
Copilot AI review requested due to automatic review settings August 10, 2026 10:40
@mrdrivingduck
mrdrivingduck force-pushed the codex/docs-rest-catalog-v1.4-andium branch from c016dd8 to 589d9c3 Compare August 10, 2026 10:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Suppressed comments (1)

README.md:226

  • The REST catalog example uses ATTACH 'my_warehouse' ..., but in the current implementation the first ATTACH argument is also used to infer the filesystem backend and to match scoped Paimon Secrets. Using a non-URI identifier here will default to file_system=local and will not load S3/OSS credentials, which makes the example misleading for the surrounding “remote object storage” section.
Use a REST catalog when Paimon catalog metadata is served through the [Paimon REST Catalog API](https://paimon.apache.org/docs/master/concepts/rest/). The first `ATTACH` argument (`my_warehouse`) is sent to the REST server as its warehouse identifier; set it to the warehouse or instance your server expects. `rest_paimon` is only the local DuckDB catalog name.

@mrdrivingduck
mrdrivingduck marked this pull request as ready for review August 10, 2026 11:36
@mrdrivingduck
mrdrivingduck merged commit 96f54f7 into polardb:v1.4-andium Aug 10, 2026
8 checks passed
@mrdrivingduck
mrdrivingduck deleted the codex/docs-rest-catalog-v1.4-andium branch August 10, 2026 11:37
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