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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


27862
27863
27864
27865
27866
27867
27868
27869
27870
27871
# File 'lib/aws-sdk-glue/types.rb', line 27862

class ViewRepresentation < Struct.new(
  :dialect,
  :dialect_version,
  :view_original_text,
  :view_expanded_text,
  :validation_connection,
  :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)


27862
27863
27864
27865
27866
27867
27868
27869
27870
27871
# File 'lib/aws-sdk-glue/types.rb', line 27862

class ViewRepresentation < Struct.new(
  :dialect,
  :dialect_version,
  :view_original_text,
  :view_expanded_text,
  :validation_connection,
  :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)


27862
27863
27864
27865
27866
27867
27868
27869
27870
27871
# File 'lib/aws-sdk-glue/types.rb', line 27862

class ViewRepresentation < Struct.new(
  :dialect,
  :dialect_version,
  :view_original_text,
  :view_expanded_text,
  :validation_connection,
  :is_stale)
  SENSITIVE = []
  include Aws::Structure
end

#validation_connectionString

The name of the connection to be used to validate the specific representation of the view.

Returns:

  • (String)


27862
27863
27864
27865
27866
27867
27868
27869
27870
27871
# File 'lib/aws-sdk-glue/types.rb', line 27862

class ViewRepresentation < Struct.new(
  :dialect,
  :dialect_version,
  :view_original_text,
  :view_expanded_text,
  :validation_connection,
  :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 qualified identifiers: ‘SELECT * from table1 -> SELECT * from db1.table1`

^

Returns:

  • (String)


27862
27863
27864
27865
27866
27867
27868
27869
27870
27871
# File 'lib/aws-sdk-glue/types.rb', line 27862

class ViewRepresentation < Struct.new(
  :dialect,
  :dialect_version,
  :view_original_text,
  :view_expanded_text,
  :validation_connection,
  :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)


27862
27863
27864
27865
27866
27867
27868
27869
27870
27871
# File 'lib/aws-sdk-glue/types.rb', line 27862

class ViewRepresentation < Struct.new(
  :dialect,
  :dialect_version,
  :view_original_text,
  :view_expanded_text,
  :validation_connection,
  :is_stale)
  SENSITIVE = []
  include Aws::Structure
end