Skip to content

SQL GA - Get started#571

Open
kbatuigas wants to merge 12 commits into
rp-sqlfrom
DOC-1856-document-feature-sql-engine-deployment-in-cloud
Open

SQL GA - Get started#571
kbatuigas wants to merge 12 commits into
rp-sqlfrom
DOC-1856-document-feature-sql-engine-deployment-in-cloud

Conversation

@kbatuigas
Copy link
Copy Markdown
Contributor

@kbatuigas kbatuigas commented May 2, 2026

Description

This pull request adds comprehensive "Get Started" documentation for Redpanda SQL, including new guides for enabling, connecting to, and using Redpanda SQL on BYOC clusters. The changes introduce a new navigation structure and detailed step-by-step instructions for both the Cloud Console and API workflows, as well as a hands-on quickstart for querying streaming data.

New Redpanda SQL onboarding documentation:

  • Added a new "Get Started" section for Redpanda SQL, including an overview index page (index.adoc), a quickstart guide for connecting and querying with psql (sql-quickstart.adoc), and a detailed guide for enabling, scaling, and disabling Redpanda SQL on BYOC clusters (deploy-sql-cluster.adoc). [1] [2] [3]

Navigation and structure updates:

  • Updated nav.adoc to include links to the new "Get Started," "Quickstart," and "Enable Redpanda SQL" guides under the Redpanda SQL section, improving discoverability and organization of onboarding content.

Resolves https://github.com/redpanda-data/documentation-private/issues/
Review deadline: 19 May

Page previews

https://deploy-preview-571--rp-cloud.netlify.app/redpanda-cloud/sql/get-started/sql-quickstart/
https://deploy-preview-571--rp-cloud.netlify.app/redpanda-cloud/sql/get-started/deploy-sql-cluster/

Checks

  • New feature
  • Content gap
  • Support Follow-up
  • Small fix (typos, links, copyedits, etc)

@netlify
Copy link
Copy Markdown

netlify Bot commented May 2, 2026

Deploy Preview for rp-cloud ready!

Name Link
🔨 Latest commit a0b51f4
🔍 Latest deploy log https://app.netlify.com/projects/rp-cloud/deploys/6a0bd96e0344fe00083a67db
😎 Deploy Preview https://deploy-preview-571--rp-cloud.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 2, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f669c3e5-3092-42c7-89db-953fe1a26a1f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch DOC-1856-document-feature-sql-engine-deployment-in-cloud

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Member

@andrewhsu andrewhsu left a comment

Choose a reason for hiding this comment

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

CREATE TABLE command needs to change to match web ui

Comment thread modules/sql/pages/get-started/sql-quickstart.adoc Outdated
@kbatuigas kbatuigas force-pushed the DOC-1856-document-feature-sql-engine-deployment-in-cloud branch from ae3ae40 to 2dd0c5a Compare May 11, 2026 23:03
@kbatuigas kbatuigas force-pushed the DOC-1856-document-feature-sql-engine-deployment-in-cloud branch from 2dd0c5a to fb15751 Compare May 13, 2026 19:07
@kbatuigas kbatuigas marked this pull request as ready for review May 14, 2026 01:47
@kbatuigas kbatuigas requested a review from a team as a code owner May 14, 2026 01:47
@kbatuigas kbatuigas requested a review from jacekseligarp May 14, 2026 01:47
Comment thread modules/sql/pages/get-started/deploy-sql-cluster.adoc Outdated
+
[,bash]
----
curl -X POST "https://api.redpanda.com/v1/clusters" \
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Please double check request payload with @rpdevmp


To enable, scale, or disable SQL on an existing cluster, you also need the cluster ID, which you can find in the *Details* section of the cluster overview in the Cloud Console.

// TODO: Confirm UI functionality
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@c-julin should have knowledge about this matter

+
[,bash]
----
curl -X PATCH "https://api.redpanda.com/v1/clusters/{cluster.id}" \
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Confirm payload of this request with mr.Marat (mentioned above).
I think this applies to all requests.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated oxla in the payload to rpsql

-H "Content-Type: application/json"
----
+
When the operation is complete, the response shows `"state": "STATE_COMPLETED"`.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We need to talk a bit more about it, I'll send you a link to slack thread.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added some guidance here https://github.com/redpanda-data/cloud-docs/pull/571/changes#diff-53e047807d28a0255b66ea613665a131405259a0926d855ba2b3ab3dd13fbe5bR129 but this is based on current state afaik, we can update later if the UX is changed


Redpanda SQL supports horizontal scaling from 1 to 9 nodes per cluster. Scaling to 0 is not supported. To remove Redpanda SQL from a cluster, disable the SQL engine instead.

// TODO: Confirm UI functionality
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@simonlord is adding this


== Verify the SQL engine is running

After you enable Redpanda SQL, the cluster overview page in the Cloud console shows the *SQL* tab. The *Details* pane also displays the number of SQL nodes deployed with the cluster. Provisioning may take several minutes.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

30mins is a safe boundary here imho

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added

Comment thread modules/sql/pages/get-started/deploy-sql-cluster.adoc

[,sql]
----
SHOW NODES; -- List SQL compute nodes and their status
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I'll think adding some queries related to CATALOG objectst may be a good idea, someone from Oxla core should be able to provide insights on this matter.

Comment thread modules/sql/pages/get-started/deploy-sql-cluster.adoc Outdated
Comment thread modules/sql/pages/get-started/deploy-sql-cluster.adoc Outdated
Comment thread modules/sql/pages/get-started/deploy-sql-cluster.adoc Outdated
Comment thread modules/sql/pages/get-started/sql-quickstart.adoc Outdated
* https://www.postgresql.org/download/[`psql`^] (PostgreSQL client) installed on your local machine.

// TODO: Verify the exact connection string format and where users get credentials.
// From PRD: SCRAM auth preserved, connection string available in Cloud Console and API response.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is 'the legacy auth method' that Oxla is preserving for tools like PowerBI etc. @grzebiel / @paulzhang97 can provide more insights.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We've discussed it f2f. Should be clear now.
TLDR: connection string is availble in console. rpk version supporting rpk claud auth token required

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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


Redpanda SQL is deny-all by default. All queries to Redpanda SQL run under a single super-user SASL credential associated with `default_redpanda_catalog`, but the engine enforces per-user table access through Redpanda SQL `GRANT` statements. To let a non-admin user query a table, the admin creates a role and grants access:

// TODO: Confirm the exact GRANT mechanism with engineering. Open questions:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@grzebiel here also

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

discussed on f2f meeting.
TLDR: two permissions available in the RBAC: dataplane->sql->{access, manage}.
manage -> sql superuser able to read and grand accessess to all the topics/tables
access -> regular user. No access to any catalog unless granted by superuser.

Standard sql grant system to manage access to catalogs

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Access mechanism explained in separate PR https://github.com/redpanda-data/cloud-docs/pull/580/changes

kbatuigas and others added 9 commits May 18, 2026 20:28
Updates the Enable Redpanda SQL page so the horizontal-scaling range is
1 to 9 nodes (down from 1 to 12) per the PM SME 2026-05-07. Adds a TODO
on the Disable Redpanda SQL section listing the specific behaviors to
confirm with engineering before publication: what state is purged, what
is deleted from object storage, the effect on topic and Schema Registry
data, in-flight query error behavior, and re-enable semantics.

Updates the quickstart so it explicitly targets an admin who can view the
SQL connection details in the Cloud Console, and adds an optional
admin-run mini-section showing how to grant a non-admin user SELECT
access on a Redpanda SQL table. Includes a TODO referencing
qa-questions.md #21 to refine the role/grant example once engineering
confirms whether the SQL GRANT statement alone enforces per-user table
access or whether an additional ACL/Kafka-side step is required.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Andrew Hsu <xuzuan@gmail.com>
@kbatuigas kbatuigas force-pushed the DOC-1856-document-feature-sql-engine-deployment-in-cloud branch from 2731f43 to a0b51f4 Compare May 19, 2026 03:30
Comment thread modules/sql/pages/get-started/deploy-sql-cluster.adoc
@simonlord
Copy link
Copy Markdown
Contributor

Hey Kat, just FYI we now have a settings page UI for enabling/scaling/disabling oxla on an existing cluster so we could upadrte this page with screenshots instead of getting the user to run curl api requests.

The UI is still changing but it is there

@simonlord
Copy link
Copy Markdown
Contributor

It would also be useful to call out RPSQL is only available for UBB based orgs

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.

5 participants