Skip to main content

calculation_executions

Creates, updates, deletes, gets or lists a calculation_executions resource.

Overview

Namecalculation_executions
TypeResource
Idaws.athena.calculation_executions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
calculation_execution_idstringThe calculation execution UUID.
descriptionstringThe description of the calculation execution.
resultobjectContains result information. This field is populated only if the calculation is completed.
session_idstringThe session ID that the calculation ran in.
statisticsobjectContains information about the data processing unit (DPU) execution time and progress. This field is populated only when statistics are available.
statusobjectContains information about the status of the calculation.
working_directorystringThe Amazon S3 location in which calculation results are stored. (pattern: <code>^(https|s3|S3):​//([^/]+)/?(.*)$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_calculation_executionselectregionDescribes a previously submitted calculation execution.
list_calculation_executionsselectregionLists the calculations that have been submitted to a session in descending order. Newer calculations are listed first; older calculations are listed later.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Describes a previously submitted calculation execution.

SELECT
calculation_execution_id,
description,
result,
session_id,
statistics,
status,
working_directory
FROM aws.athena.calculation_executions
WHERE region = '{{ region }}' -- required
;