Class: Aws::Athena::Types::CompatibilityResult

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb

Overview

The result of translating a query to DuckDB, and of validating the translated query, if performed.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#confidence ⇒ String

The confidence that the translated query is equivalent to the original query. Valid values are NO_TRANSLATION_NEEDED, TRANSLATED_TO_TARGET_DIALECT, and TRANSLATION_NEEDS_HUMAN_REVIEW.

Returns:

  • (String)


694
695
696
697
698
699
700
701
702
703
704
705
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 694

class CompatibilityResult < Struct.new(
  :id,
  :target_query,
  :status,
  :confidence,
  :source_query_execution_id,
  :target_query_execution_id,
  :target_query_execution_attempts,
  :result_summary)
  SENSITIVE = []
  include Aws::Structure
end

#id ⇒ String

The unique ID of the translation.

Returns:

  • (String)


694
695
696
697
698
699
700
701
702
703
704
705
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 694

class CompatibilityResult < Struct.new(
  :id,
  :target_query,
  :status,
  :confidence,
  :source_query_execution_id,
  :target_query_execution_id,
  :target_query_execution_attempts,
  :result_summary)
  SENSITIVE = []
  include Aws::Structure
end

#result_summary ⇒ String

A JSON-formatted summary of the validation, including execution and data validation checks, the checks that passed and failed, and the execution times of the original and translated queries.

Returns:

  • (String)


694
695
696
697
698
699
700
701
702
703
704
705
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 694

class CompatibilityResult < Struct.new(
  :id,
  :target_query,
  :status,
  :confidence,
  :source_query_execution_id,
  :target_query_execution_id,
  :target_query_execution_attempts,
  :result_summary)
  SENSITIVE = []
  include Aws::Structure
end

#source_query_execution_id ⇒ String

The ID of a previous query execution whose translation result was reused for this query, if any.

Returns:

  • (String)


694
695
696
697
698
699
700
701
702
703
704
705
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 694

class CompatibilityResult < Struct.new(
  :id,
  :target_query,
  :status,
  :confidence,
  :source_query_execution_id,
  :target_query_execution_id,
  :target_query_execution_attempts,
  :result_summary)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

The status of the translation, and of the validation if one was run. Valid values are SUCCEEDED and FAILED.

Returns:

  • (String)


694
695
696
697
698
699
700
701
702
703
704
705
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 694

class CompatibilityResult < Struct.new(
  :id,
  :target_query,
  :status,
  :confidence,
  :source_query_execution_id,
  :target_query_execution_id,
  :target_query_execution_attempts,
  :result_summary)
  SENSITIVE = []
  include Aws::Structure
end

#target_query ⇒ String

The translated query string for DuckDB.

Returns:

  • (String)


694
695
696
697
698
699
700
701
702
703
704
705
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 694

class CompatibilityResult < Struct.new(
  :id,
  :target_query,
  :status,
  :confidence,
  :source_query_execution_id,
  :target_query_execution_id,
  :target_query_execution_attempts,
  :result_summary)
  SENSITIVE = []
  include Aws::Structure
end

#target_query_execution_attempts ⇒ Array<String>

The IDs of all query executions that were attempted to validate the translated query on DuckDB. Present only when the translated query was validated.

Returns:

  • (Array<String>)


694
695
696
697
698
699
700
701
702
703
704
705
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 694

class CompatibilityResult < Struct.new(
  :id,
  :target_query,
  :status,
  :confidence,
  :source_query_execution_id,
  :target_query_execution_id,
  :target_query_execution_attempts,
  :result_summary)
  SENSITIVE = []
  include Aws::Structure
end

#target_query_execution_id ⇒ String

The ID of the query execution that ran the translated query on DuckDB for validation.

Returns:

  • (String)


694
695
696
697
698
699
700
701
702
703
704
705
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 694

class CompatibilityResult < Struct.new(
  :id,
  :target_query,
  :status,
  :confidence,
  :source_query_execution_id,
  :target_query_execution_id,
  :target_query_execution_attempts,
  :result_summary)
  SENSITIVE = []
  include Aws::Structure
end