Skip to content

Commit

Permalink
feat: Add Presto dialect to bigquerymigration v2 client library
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 460797158
  • Loading branch information
Google APIs authored and copybara-github committed Jul 13, 2022
1 parent 52cae2e commit 46f2598
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ message MigrationTask {
// Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
// Translation_Snowflake2BQ, Translation_Netezza2BQ,
// Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
// Translation_SQLServer2BQ.
// Translation_SQLServer2BQ, Translation_Presto2BQ.
string type = 2;

// Output only. The current state of the task.
Expand Down
12 changes: 12 additions & 0 deletions google/cloud/bigquery/migration/v2/translation_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ message Dialect {

// The SQL Server dialect
SQLServerDialect sql_server_dialect = 11;

// The Postgresql dialect
PostgresqlDialect postgresql_dialect = 12;

// The Presto dialect
PrestoDialect presto_dialect = 13;
}
}

Expand Down Expand Up @@ -142,6 +148,12 @@ message VerticaDialect {}
// The dialect definition for SQL Server.
message SQLServerDialect {}

// The dialect definition for Postgresql.
message PostgresqlDialect {}

// The dialect definition for Presto.
message PrestoDialect {}

// Represents a map of name mappings using a list of key:value proto messages of
// existing name to desired output name.
message ObjectNameMappingList {
Expand Down

0 comments on commit 46f2598

Please sign in to comment.