Class SqlTranslationError (0.11.7)

SqlTranslationError(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The detailed error object if the SQL translation job fails.

Attributes

NameDescription
error_type google.cloud.bigquery_migration_v2alpha.types.SqlTranslationError.SqlTranslationErrorType
The type of SQL translation error.
error_detail google.cloud.bigquery_migration_v2alpha.types.SqlTranslationErrorDetail
Specifies the details of the error, including the error message and location from the source text.

Classes

SqlTranslationErrorType

SqlTranslationErrorType(value)

The error type of the SQL translation job.

Values: SQL_TRANSLATION_ERROR_TYPE_UNSPECIFIED (0): SqlTranslationErrorType not specified. SQL_PARSE_ERROR (1): Failed to parse the input text as a SQL query. UNSUPPORTED_SQL_FUNCTION (2): Found unsupported functions in the input SQL query that are not able to translate.