Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 20 additions & 4 deletions modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -335,17 +335,33 @@
*** xref:develop:connect/cookbooks/jira.adoc[]

* xref:sql:index.adoc[Redpanda SQL]
// ** quickstart.adoc
** xref:sql:get-started/what-is-redpanda-sql.adoc[Overview]
*** xref:sql:get-started/oltp-vs-olap.adoc[]
*** xref:sql:get-started/redpanda-sql-vs-postgresql.adoc[]
// ============================================================================
// DOC-1993 — Redpanda SQL IA (target BYOC AWS GA 2026-05-22)
// Most placeholders below do not have linked pages until pages land (except DOC-1856).
// Add xrefs per ticket as pages are created.
// ============================================================================
// ** xref:sql:get-started/index.adoc[Get Started]
// *** xref:sql:get-started/sql-quickstart.adoc[Quickstart] // DOC-1856 (in review, draft on DOC-1856 branch)
// *** xref:sql:get-started/deploy-sql-cluster.adoc[Enable Redpanda SQL] // DOC-1856
** Get Started
*** Quickstart
*** Enable Redpanda SQL
*** xref:sql:get-started/what-is-redpanda-sql.adoc[Overview]
**** xref:sql:get-started/oltp-vs-olap.adoc[]
**** xref:sql:get-started/redpanda-sql-vs-postgresql.adoc[]
** xref:sql:connect-to-sql/index.adoc[Connect to Redpanda SQL]
*** xref:sql:connect-to-sql/language-clients/psycopg2.adoc[]
*** xref:sql:connect-to-sql/language-clients/java-jdbc.adoc[]
*** xref:sql:connect-to-sql/language-clients/php-pdo.adoc[]
*** xref:sql:connect-to-sql/language-clients/dotnet-dapper.adoc[]
** Query data
*** Query Redpanda topics
*** Query Iceberg
** Manage Redpanda SQL
*** Configure OIDC
** xref:sql:troubleshoot/index.adoc[Troubleshoot]
*** xref:sql:troubleshoot/degraded-state-handling.adoc[]
*** Memory management

* xref:develop:index.adoc[Develop]
** xref:develop:kafka-clients.adoc[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ The `CREATE REDPANDA CATALOG` statement creates a named connection to a Redpanda
[source,sql]
----
CREATE REDPANDA CATALOG [IF NOT EXISTS] catalog_name
WITH (option = 'value' [, ...]);
[USING CATALOG [schema.]iceberg_catalog_name]
WITH (option = 'value' [, ...]);
----

* `catalog_name`: Name for the new catalog connection.
* `IF NOT EXISTS`: Optional. Prevents an error if a catalog with the same name already exists.
* `USING CATALOG iceberg_catalog_name`: Optional. Links the Redpanda catalog to an existing Iceberg catalog so that queries against tables in this catalog can return data from both the Redpanda topic and its corresponding Iceberg table in a single result. The Iceberg catalog must already exist. You can qualify the Iceberg catalog name with a schema prefix.

== Options

Expand Down Expand Up @@ -60,6 +62,11 @@ WITH (option = 'value' [, ...]);
|STRING
|No
|Schema Registry authentication password.

|`pandaproxy_url`
|STRING
|Conditional
|Base URL of the Redpanda HTTP Proxy REST API. Required when the catalog includes a `USING CATALOG` clause; Redpanda SQL uses this endpoint to fetch Iceberg translation state for queries that span the topic and its Iceberg table.
|===

== Examples
Expand Down Expand Up @@ -91,3 +98,18 @@ WITH (
schema_registry_password = 'sr_pass'
);
----

=== Create a catalog linked to an Iceberg catalog

Use the `USING CATALOG` clause to link a Redpanda catalog to an existing Iceberg catalog. Queries against tables in the linked Redpanda catalog can then return a non-overlapping continuum of data from the Redpanda topic and its corresponding Iceberg table in a single result.

[source,sql]
----
CREATE REDPANDA CATALOG my_linked_catalog
USING CATALOG my_iceberg_catalog
WITH (
initial_brokers = 'broker1:9092',
schema_registry_url = 'http://schema-registry:8081',
pandaproxy_url = 'http://redpanda:8082'
);
----