CompatibilityResult
¶
Source code in docs_src/capo_athena/types/compatibility_result.py
confidence
instance-attribute
¶
confidence: NotRequired[CompatibilityConfidence]
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.
result_summary
instance-attribute
¶
result_summary: NotRequired[CompatibilitySummaryString]
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.
source_query_execution_id
instance-attribute
¶
source_query_execution_id: NotRequired[QueryExecutionId]
The ID of a previous query execution whose translation result was reused for this query, if any.
status
instance-attribute
¶
status: NotRequired[CompatibilityStatus]
The status of the translation, and of the validation if one was run. Valid values are SUCCEEDED and FAILED.
target_query
instance-attribute
¶
target_query: NotRequired[QueryString]
The translated query string for DuckDB.
target_query_execution_attempts
instance-attribute
¶
target_query_execution_attempts: NotRequired[TargetQueryAttemptsList]
The IDs of all query executions that were attempted to validate the translated query on DuckDB. Present only when the translated query was validated.
target_query_execution_id
instance-attribute
¶
target_query_execution_id: NotRequired[QueryExecutionId]
The ID of the query execution that ran the translated query on DuckDB for validation.