Skip to content

Commit 2bafaf1

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add MySQL dialect to bigquerymigration v2 client library
PiperOrigin-RevId: 466417698
1 parent 164f1fa commit 2bafaf1

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

google/cloud/bigquery/migration/v2/migration_entities.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ message MigrationTask {
135135
// Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
136136
// Translation_Snowflake2BQ, Translation_Netezza2BQ,
137137
// Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
138-
// Translation_SQLServer2BQ, Translation_Presto2BQ.
138+
// Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ.
139139
string type = 2;
140140

141141
// Output only. The current state of the task.

google/cloud/bigquery/migration/v2/translation_config.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ message Dialect {
9797

9898
// The Presto dialect
9999
PrestoDialect presto_dialect = 13;
100+
101+
// The MySQL dialect
102+
MySQLDialect mysql_dialect = 14;
100103
}
101104
}
102105

@@ -154,6 +157,9 @@ message PostgresqlDialect {}
154157
// The dialect definition for Presto.
155158
message PrestoDialect {}
156159

160+
// The dialect definition for MySQL.
161+
message MySQLDialect {}
162+
157163
// Represents a map of name mappings using a list of key:value proto messages of
158164
// existing name to desired output name.
159165
message ObjectNameMappingList {

0 commit comments

Comments
 (0)