Skip to content

Commit d9a91ba

Browse files
committed
Add 1 more tutorial
1 parent b7234a3 commit d9a91ba

10 files changed

+442
-4
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tutorials/7 - Redshift, MySQL, PostgreSQL.ipynb renamed to tutorials/07 - Redshift, MySQL, PostgreSQL.ipynb

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
{
1919
"cell_type": "code",
20-
"execution_count": 6,
20+
"execution_count": 2,
2121
"metadata": {},
2222
"outputs": [],
2323
"source": [
@@ -47,7 +47,7 @@
4747
},
4848
{
4949
"cell_type": "code",
50-
"execution_count": 4,
50+
"execution_count": 3,
5151
"metadata": {},
5252
"outputs": [],
5353
"source": [
@@ -56,6 +56,31 @@
5656
"eng_redshift = wr.catalog.get_engine(\"aws-data-wrangler-redshift\")"
5757
]
5858
},
59+
{
60+
"cell_type": "markdown",
61+
"metadata": {},
62+
"source": [
63+
"## Raw SQL queries (No Pandas)"
64+
]
65+
},
66+
{
67+
"cell_type": "code",
68+
"execution_count": 4,
69+
"metadata": {},
70+
"outputs": [
71+
{
72+
"name": "stdout",
73+
"output_type": "stream",
74+
"text": [
75+
"[(1,)]\n"
76+
]
77+
}
78+
],
79+
"source": [
80+
"with eng_postgresql.connect() as con:\n",
81+
" print(con.execute(\"SELECT 1\").fetchall())"
82+
]
83+
},
5984
{
6085
"cell_type": "markdown",
6186
"metadata": {},

tutorials/8 - Redshift Copy & Unload.ipynb renamed to tutorials/08 - Redshift - Copy & Unload.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"source": [
77
"[![AWS Data Wrangler](_static/logo.png \"AWS Data Wrangler\")](https://github.com/awslabs/aws-data-wrangler)\n",
88
"\n",
9-
"# 8 - Redshift COPY & UNLOAD\n",
9+
"# 8 - Redshift - COPY & UNLOAD\n",
1010
"\n",
1111
"`Amazon Redshift` has two SQL command that help to load and unload large amount of data staging it on `Amazon S3`:\n",
1212
"\n",

0 commit comments

Comments
 (0)