Class: Aws::Glue::Types::ViewRepresentation
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glue::Types::ViewRepresentation
- Defined in:
- gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb
Overview
A structure that contains the dialect of the view, and the query that defines the view.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#dialect ⇒ String
The dialect of the query engine.
-
#dialect_version ⇒ String
The version of the dialect of the query engine.
-
#is_stale ⇒ Boolean
Dialects marked as stale are no longer valid and must be updated before they can be queried in their respective query engines.
-
#view_expanded_text ⇒ String
The expanded SQL for the view.
-
#view_original_text ⇒ String
The
SELECT
query provided by the customer duringCREATE VIEW DDL
.
Instance Attribute Details
#dialect ⇒ String
The dialect of the query engine.
23240 23241 23242 23243 23244 23245 23246 23247 23248 |
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 23240 class ViewRepresentation < Struct.new( :dialect, :dialect_version, :view_original_text, :view_expanded_text, :is_stale) SENSITIVE = [] include Aws::Structure end |
#dialect_version ⇒ String
The version of the dialect of the query engine. For example, 3.0.0.
23240 23241 23242 23243 23244 23245 23246 23247 23248 |
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 23240 class ViewRepresentation < Struct.new( :dialect, :dialect_version, :view_original_text, :view_expanded_text, :is_stale) SENSITIVE = [] include Aws::Structure end |
#is_stale ⇒ Boolean
Dialects marked as stale are no longer valid and must be updated before they can be queried in their respective query engines.
23240 23241 23242 23243 23244 23245 23246 23247 23248 |
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 23240 class ViewRepresentation < Struct.new( :dialect, :dialect_version, :view_original_text, :view_expanded_text, :is_stale) SENSITIVE = [] include Aws::Structure end |
#view_expanded_text ⇒ String
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 ViewOriginalText
to ViewExpandedText
.
For example:
- Fully qualify identifiers:
SELECT * from table1 → SELECT * from db1.table1
^
23240 23241 23242 23243 23244 23245 23246 23247 23248 |
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 23240 class ViewRepresentation < Struct.new( :dialect, :dialect_version, :view_original_text, :view_expanded_text, :is_stale) SENSITIVE = [] include Aws::Structure end |
#view_original_text ⇒ String
The SELECT
query provided by the customer during CREATE VIEW
DDL
. This SQL is not used during a query on a view
(ViewExpandedText
is used instead). ViewOriginalText
is used for
cases like SHOW CREATE VIEW
where users want to see the original
DDL command that created the view.
23240 23241 23242 23243 23244 23245 23246 23247 23248 |
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 23240 class ViewRepresentation < Struct.new( :dialect, :dialect_version, :view_original_text, :view_expanded_text, :is_stale) SENSITIVE = [] include Aws::Structure end |