From f30516e75f6f64ef93abbd4ccd175e32479c6dc0 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Thu, 9 Jun 2022 12:18:28 -0700 Subject: [PATCH] feat: Add SQL Server dialect to bigquerymigration v2 client library PiperOrigin-RevId: 453984088 --- google/cloud/bigquery/migration/v2/migration_entities.proto | 4 +++- google/cloud/bigquery/migration/v2/translation_config.proto | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/google/cloud/bigquery/migration/v2/migration_entities.proto b/google/cloud/bigquery/migration/v2/migration_entities.proto index 6ccfcacfb8..79ca05b971 100644 --- a/google/cloud/bigquery/migration/v2/migration_entities.proto +++ b/google/cloud/bigquery/migration/v2/migration_entities.proto @@ -133,7 +133,9 @@ message MigrationTask { // The type of the task. This must be one of the supported task types: // Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ, // Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ, - // Translation_Snowflake2BQ, Translation_Netezza2BQ. + // Translation_Snowflake2BQ, Translation_Netezza2BQ, + // Translation_AzureSynapse2BQ, Translation_Vertica2BQ, + // Translation_SQLServer2BQ. string type = 2; // Output only. The current state of the task. diff --git a/google/cloud/bigquery/migration/v2/translation_config.proto b/google/cloud/bigquery/migration/v2/translation_config.proto index 6058e9ddf1..3ff2902b8c 100644 --- a/google/cloud/bigquery/migration/v2/translation_config.proto +++ b/google/cloud/bigquery/migration/v2/translation_config.proto @@ -88,6 +88,9 @@ message Dialect { // The Vertica dialect VerticaDialect vertica_dialect = 10; + + // The SQL Server dialect + SQLServerDialect sql_server_dialect = 11; } } @@ -136,6 +139,9 @@ message AzureSynapseDialect {} // The dialect definition for Vertica. message VerticaDialect {} +// The dialect definition for SQL Server. +message SQLServerDialect {} + // Represents a map of name mappings using a list of key:value proto messages of // existing name to desired output name. message ObjectNameMappingList {