Skip to content

Commit

Permalink
Update notebook.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
kesmit13 authored Oct 8, 2024
1 parent b2ff670 commit 2198a73
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions notebooks/load-data-kakfa/notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<h3>Introduction</h3>"
"### Introduction"
]
},
{
Expand Down Expand Up @@ -111,7 +111,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<h3>Create Table</h3>"
"### Create Table\n",
"Creating table for sample data."
]
},
{
Expand All @@ -121,9 +122,6 @@
"outputs": [],
"source": [
"%%sql\n",
"\n",
"#creating table for sample data\n",
"\n",
"CREATE TABLE IF NOT EXISTS `eventsdata` (\n",
" `user_id` varchar(120) DEFAULT NULL,\n",
" `event_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,\n",
Expand All @@ -142,7 +140,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<h3>Load Data using Pipeline</h3>"
"### Load Data using Pipeline\n",
"Creating pipeline for sample data."
]
},
{
Expand All @@ -152,9 +151,6 @@
"outputs": [],
"source": [
"%%sql\n",
"\n",
"#creating pipeline for sample data\n",
"\n",
"CREATE PIPELINE IF NOT EXISTS `eventsdata`\n",
"AS LOAD DATA KAFKA 'public-kafka.memcompute.com:9092/ad_events'\n",
"ENABLE OUT_OF_ORDER OPTIMIZATION\n",
Expand Down Expand Up @@ -192,7 +188,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<h3>Sample Queries</h3>"
"### Sample Queries"
]
},
{
Expand Down

0 comments on commit 2198a73

Please sign in to comment.