Skip to content

Commit 46f2598

Browse files
Google APIscopybara-github
Google APIs
authored andcommitted
feat: Add Presto dialect to bigquerymigration v2 client library
PiperOrigin-RevId: 460797158
1 parent 52cae2e commit 46f2598

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

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

+1-1
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.
138+
// Translation_SQLServer2BQ, Translation_Presto2BQ.
139139
string type = 2;
140140

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

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

+12
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ message Dialect {
9191

9292
// The SQL Server dialect
9393
SQLServerDialect sql_server_dialect = 11;
94+
95+
// The Postgresql dialect
96+
PostgresqlDialect postgresql_dialect = 12;
97+
98+
// The Presto dialect
99+
PrestoDialect presto_dialect = 13;
94100
}
95101
}
96102

@@ -142,6 +148,12 @@ message VerticaDialect {}
142148
// The dialect definition for SQL Server.
143149
message SQLServerDialect {}
144150

151+
// The dialect definition for Postgresql.
152+
message PostgresqlDialect {}
153+
154+
// The dialect definition for Presto.
155+
message PrestoDialect {}
156+
145157
// Represents a map of name mappings using a list of key:value proto messages of
146158
// existing name to desired output name.
147159
message ObjectNameMappingList {

0 commit comments

Comments
 (0)