File tree 3 files changed +22
-2
lines changed
3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 50
50
* Create EMR cluster (For humans) (NEW :star : )
51
51
* Terminate EMR cluster (NEW :star : )
52
52
* Get EMR cluster state (NEW :star : )
53
- * Submit EMR step (For humans) (NEW :star : )
53
+ * Submit EMR step(s) (For humans) (NEW :star : )
54
54
* Get EMR step state (NEW :star : )
55
+ * Get EMR step state (NEW :star : )
56
+ * Athena query to receive the result as python primitives (* Iterable[ Dict[ str, Any] * ) (NEW :star : )
55
57
56
58
## Installation
57
59
@@ -282,6 +284,14 @@ cluster_id = session.emr.create_cluster(
282
284
print (cluster_id)
283
285
```
284
286
287
+ #### Athena query to receive the result as python primitives (* Iterable[ Dict[ str, Any] * )
288
+
289
+ ``` py3
290
+ session = awswrangler.Session()
291
+ for row in session.athena.query(query = " ..." , database = " ..." ):
292
+ print (row)
293
+ ```
294
+
285
295
## Diving Deep
286
296
287
297
Original file line number Diff line number Diff line change @@ -243,3 +243,12 @@ Create EMR cluster
243
243
key_pair_name = None ,
244
244
)
245
245
print (cluster_id)
246
+
247
+ Athena query to receive the result as python primitives (Iterable[Dict[str, Any])
248
+ `````````````````````````````````````````````````````````````````````````````````
249
+
250
+ .. code-block :: python
251
+
252
+ session = awswrangler.Session()
253
+ for row in session.athena.query(query = " ..." , database = " ..." ):
254
+ print (row)
Original file line number Diff line number Diff line change @@ -42,8 +42,9 @@ General
42
42
* Create EMR cluster (For humans) (NEW)
43
43
* Terminate EMR cluster (NEW)
44
44
* Get EMR cluster state (NEW)
45
- * Submit EMR step (For humans) (NEW)
45
+ * Submit EMR step(s) (For humans) (NEW)
46
46
* Get EMR step state (NEW)
47
+ * Athena query to receive the result as python primitives (Iterable[Dict[str, Any]) (NEW)
47
48
48
49
49
50
Table Of Contents
You can’t perform that action at this time.
0 commit comments