SQL: bytea support#585
Conversation
✅ Deploy Preview for rp-cloud ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
39a00c4 to
b0aa26e
Compare
|
@kbatuigas shouldn't we alphabetize the data types in nav.adoc, like:
|
| :description: The bytea data type stores arbitrary binary data such as raw key and value bytes from Redpanda topics or binary columns from Iceberg tables. | ||
| :page-topic-type: reference | ||
|
|
||
| The bytea data type stores arbitrary binary data as a sequence of bytes. Unlike `text`, bytea values are not UTF-8 validated and can contain any byte value. Redpanda SQL uses bytea to surface binary fields from external sources, including Iceberg tables, Protobuf and Avro topic schemas, and the raw key and value bytes of Redpanda Streaming records. |
There was a problem hiding this comment.
For all data types: some are put in backticks and some are not (like here with bytea and text, but also throughout pages). We should be consistent.
There was a problem hiding this comment.
I'll cut a new branch from rp-sql to do some of these alphabetization/consistency fixes, plus add some content on the SQL index page per Joyce's comment in redpanda-data/docs-site#173 (comment)
|
Could you also fix the Syntax heading in this other file in this PR? |
Co-authored-by: Michele Cyran <michele@redpanda.com>
micheleRP
left a comment
There was a problem hiding this comment.
approving but reminder to check the link and backticks noted here after other PRs merge!
Description
This pull request adds documentation for the new
BYTEAdata type in Redpanda SQL, which allows storage and querying of arbitrary binary data. The changes include a new reference page forBYTEA, updates to the SQL data types summary table, and navigation updates to include the new documentation.Documentation for BYTEA data type:
bytea.adocdescribing theBYTEAdata type, its syntax, usage examples, supported and unsupported operations, literal formats, and how it maps to binary fields from external sources such as Iceberg, Protobuf, Avro, and Kafka record metadata.Documentation navigation and summary updates:
index.adocto includeBYTEA, describing its purpose and example literal formats.bytea.adocpage innav.adocso it appears in the reference documentation menu.Resolves https://github.com/redpanda-data/documentation-private/issues/
Review deadline: 19 May
Page previews
https://deploy-preview-585--rp-cloud.netlify.app/redpanda-cloud/reference/sql/sql-data-types/bytea/
Checks