[Source Versioning] SS-60 update docs for SQL server source versioning#34918
[Source Versioning] SS-60 update docs for SQL server source versioning#34918patrickwwbutler wants to merge 8 commits intoMaterializeInc:mainfrom
Conversation
|
Should also update the SQL pages for |
As for From what I can tell, isn't the syntax for creating a source table the same for each source? And it's only certain functionality that is actually dependent on the source type? Perhaps that section should just be renamed to "read-only source table"? cc @aljoscha for some confirmation on my understanding of the |
The syntax of |
|
Could we actually create a separate tab for SQL Server? Reasons:
|
SQL Server does support text columns! |
|
Oh ... then, FYI -- the current create source for sql server only lists EXCLUDE COLUMNS (...) and we also state that we don't support types |
whoops - should add TEXT COLUMNS there! The unsupported types are correct. SQL Server CDC doesn't play well with |
Do the |
|
| ### Handling table schema changes | ||
|
|
||
| {{% include-from-yaml data="postgres_source_details" | ||
| name="postgres-compatible-schema-changes" %}} |
There was a problem hiding this comment.
So ... this now only link people to the postgres guide. Will need to tweak.
…xt and ntext columns
kay-kim
left a comment
There was a problem hiding this comment.
almost... left a question.
| {{< note >}} | ||
| This section refers to the legacy [`CREATE SOURCE ... FOR ...` syntax](/sql/create-source/sql-server/) that creates subsources as part of the `CREATE SOURCE` operation. see the [SQL Server source versioning guide](/ingest-data/sql-server/source-versioning/) for information on using the new syntax to handle upstream schema changes. | ||
| {{< /note >}} | ||
| {{% schema-changes %}} |
There was a problem hiding this comment.
Q: the Incompatible schema changes ... wouldn't that be for both New and Legacy syntax?
| {{% include-headless "/headless/schema-changes-in-progress" %}} | ||
| #### New Syntax | ||
|
|
||
| Certain additional schema changes (such as dropping/altering existing columns) to SQL Server tables are supported when using the new [`CREATE SOURCE` syntax](/sql/create-source/sql-server-v2/) as detailed by the [source versioning guide](/ingest-data/sql-server/source-versioning/) |
There was a problem hiding this comment.
Given the note above, we can get rid of this, yes?
Updates docs describing process to add/remove columns from SQL Server upstream sources
Motivation
https://linear.app/materializeinc/issue/SS-60/write-docs-for-sql-server-source-versioning
Checklist
$T ⇔ Proto$Tmapping (possibly in a backwards-incompatible way), then it is tagged with aT-protolabel.