Class: Aws::Glue::Types::ViewRepresentation

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#dialectString

The dialect of the query engine.

Returns:

  • (String)


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_versionString

The version of the dialect of the query engine. For example, 3.0.0.

Returns:

  • (String)


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_staleBoolean

Dialects marked as stale are no longer valid and must be updated before they can be queried in their respective query engines.

Returns:

  • (Boolean)


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_textString

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

^

Returns:

  • (String)


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_textString

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.

Returns:

  • (String)


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