S3 Data Lake - Query data action

The Query data action runs a SQL query on a Glue Iceberg table and write the results to S3 in JSON format.

S3 Data Lake – Query data actionS3 Data Lake – Query data action

Input

Input fieldDescription
Glue Job Role ARNEnter the IAM role ARN for the Glue job to assume.
S3 warehouse pathProvide the S3 path where you plan to store the Iceberg table data and scripts. For example, s3://bucket/path/.
Database nameSelect the Glue database containing the Iceberg table.
Table nameSelect the Iceberg table to query.
ColumnsSelect columns to include in the query. Leave blank to return all columns.
SQL WHERE ClauseEnter a WHERE clause to filter records in the query.
LimitSet the maximum number of records to return.
Glue versionSelect the AWS Glue version to use. Defaults to 4.0 if left blank.
Worker typeChoose the AWS Glue worker type.
Number of workersSpecify how many workers to allocate. Defaults to 2 if left blank.

Output

Output fieldDescription
Job Run IDID of the Glue job run.
Job nameName of the Glue job.
Query statusStatus of the query execution.
Output pathS3 path where the JSON result is saved.
Error messageMessage returned if the job fails.
Started onTimestamp when the job started.
Completed onTimestamp when the job finished.

Last updated: