You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To test the managed query result storage feature, create a workgroup with managed storage enabled and set the `AWS_ATHENA_MANAGED_WORKGROUP` environment variable.
26
+
If not set, managed storage tests will be skipped.
With managed query result storage, query results are retrieved via the `GetQueryResults` API
43
+
(1000 rows per request) instead of reading S3 files directly. This may be slower for large
44
+
result sets. For large datasets, consider using customer-managed storage or the `UNLOAD` statement.
45
+
```
46
+
17
47
## Cursor iteration
18
48
19
49
```python
@@ -366,7 +396,7 @@ Support [Boto3 environment variables](https://boto3.amazonaws.com/v1/documentati
366
396
### Additional environment variables
367
397
368
398
AWS_ATHENA_S3_STAGING_DIR
369
-
: The S3 location where Athena automatically stores the query results and metadata information. Required if you have not set up workgroups. Not required if a workgroup has been set up.
399
+
: The S3 location where Athena automatically stores the query results and metadata information. Required if you have not set up workgroups. Not required if a workgroup has been set up. When connecting to a workgroup with [managed query result storage](https://docs.aws.amazon.com/athena/latest/ug/managed-results.html), pass ``s3_staging_dir=""`` to explicitly disable this environment variable fallback (see [Managed query result storage](#managed-query-result-storage)).
370
400
371
401
AWS_ATHENA_WORK_GROUP
372
402
: The setting of the workgroup to execute the query.
0 commit comments