File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 5050* Create EMR cluster (For humans) (NEW :star : )
5151* Terminate EMR cluster (NEW :star : )
5252* Get EMR cluster state (NEW :star : )
53- * Submit EMR step (For humans) (NEW :star : )
53+ * Submit EMR step(s) (For humans) (NEW :star : )
5454* 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 : )
5557
5658## Installation
5759
@@ -282,6 +284,14 @@ cluster_id = session.emr.create_cluster(
282284print (cluster_id)
283285```
284286
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+
285295## Diving Deep
286296
287297
Original file line number Diff line number Diff line change @@ -243,3 +243,12 @@ Create EMR cluster
243243 key_pair_name = None ,
244244 )
245245 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
4242* Create EMR cluster (For humans) (NEW)
4343* Terminate EMR cluster (NEW)
4444* Get EMR cluster state (NEW)
45- * Submit EMR step (For humans) (NEW)
45+ * Submit EMR step(s) (For humans) (NEW)
4646* Get EMR step state (NEW)
47+ * Athena query to receive the result as python primitives (Iterable[Dict[str, Any]) (NEW)
4748
4849
4950Table Of Contents
You can’t perform that action at this time.
0 commit comments