This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Glue::Table ViewRepresentation
A structure that contains the dialect of the view, and the query that defines the view.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "Dialect" :String, "DialectVersion" :String, "ValidationConnection" :String, "ViewExpandedText" :String, "ViewOriginalText" :String}
YAML
Dialect:StringDialectVersion:StringValidationConnection:StringViewExpandedText:StringViewOriginalText:String
Properties
Dialect-
The dialect of the query engine.
Required: No
Type: String
Allowed values:
REDSHIFT | ATHENA | SPARKUpdate requires: No interruption
DialectVersion-
The version of the dialect of the query engine. For example, 3.0.0.
Required: No
Type: String
Minimum:
1Maximum:
255Update requires: No interruption
ValidationConnection-
The name of the connection to be used to validate the specific representation of the view.
Required: No
Type: String
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*Minimum:
1Maximum:
255Update requires: No interruption
ViewExpandedText-
The expanded SQL for the view. This SQL is used by engines while processing a query on a view. Engines may perform operations during view creation to transform
ViewOriginalTexttoViewExpandedText. For example:-
Fully qualified identifiers:
SELECT * from table1 -> SELECT * from db1.table1
Required: No
Type: String
Maximum:
409600Update requires: No interruption
-
ViewOriginalText-
The
SELECTquery provided by the customer duringCREATE VIEW DDL. This SQL is not used during a query on a view (ViewExpandedTextis used instead).ViewOriginalTextis used for cases likeSHOW CREATE VIEWwhere users want to see the original DDL command that created the view.Required: No
Type: String
Maximum:
409600Update requires: No interruption