Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Commit 33a6528

Browse files
committed
Adds docs page on automap for mysql
1 parent 5f57ca7 commit 33a6528

1 file changed

Lines changed: 45 additions & 1 deletion

File tree

docs/docs/guides/new-column-addition-strategies.md

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This is a common occurrence for any company that is adding new columns to a data
1919
| Strategy | Description | PostgreSQL | MySQL | MS SQL Server |
2020
| -------- | ----------------------------------------------------------------------------------------------- | ---------- | ----- | ------------- |
2121
| Halt | Stops the job run if a new column is detected that is not found in the configured job mappings. ||||
22-
| AutoMap | Automatically generates a fake value. See more below. || ||
22+
| AutoMap | Automatically generates a fake value. See more below. || ||
2323
| Continue | Ignores new columns; may fail if column doesn't have default. See more below. ||||
2424

2525
## Halt Strategy
@@ -111,3 +111,47 @@ Postgres has many data types and not all of them are currently supported in the
111111
| text[] || |
112112

113113
<!-- cspell:enable -->
114+
115+
### MySQL
116+
117+
MySQL has many data types and not all of them are currently supported in the auto map mode. Support will continue to increase over time.
118+
119+
<!-- cspell:disable -->
120+
121+
| Data Type | Support | Generator |
122+
| ---------------- | ------- | ------------------- |
123+
| tinyint || GenerateInt64 |
124+
| smallint || GenerateInt64 |
125+
| mediumint || GenerateInt64 |
126+
| integer || GenerateInt64 |
127+
| int || GenerateInt64 |
128+
| bigint || GenerateInt64 |
129+
| float || GenerateFloat64 |
130+
| decimal || GenerateFloat64 |
131+
| dec || GenerateFloat64 |
132+
| double || GenerateFloat64 |
133+
| double precision || GenerateFloat64 |
134+
| char || GenerateString |
135+
| varchar || GenerateString |
136+
| tinytext || GenerateString |
137+
| text || GenerateString |
138+
| mediumtext || GenerateString |
139+
| longtext || GenerateString |
140+
| boolean || GenerateBool |
141+
| bool || GenerateBool |
142+
| enum || GenerateCategorical |
143+
| set || GenerateCategorical |
144+
| date || GenerateJavaScript |
145+
| datetime || GenerateJavaScript |
146+
| timestamp || GenerateJavaScript |
147+
| time || GenerateJavaScript |
148+
| year || GenerateJavaScript |
149+
| bit || |
150+
| binary || |
151+
| varbinary || |
152+
| tinyblob || |
153+
| blob || |
154+
| mediumblob || |
155+
| longblob || |
156+
157+
<!-- cspell:enable -->

0 commit comments

Comments
 (0)