Skip to content

Commit

Permalink
remove 02-02 from skip list add
Browse files Browse the repository at this point in the history
  • Loading branch information
hevansDev committed Oct 14, 2024
1 parent f470ec7 commit d9e92be
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 194 deletions.
14 changes: 7 additions & 7 deletions notebooks/02-ingestion/02-batch-ingestion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 4,
"id": "4963c87b-76e6-42af-a8ca-54d7a66f09a5",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -262,7 +262,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 7,
"id": "dc6b287c-be0e-48fa-ae39-e111ae9dd965",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -370,7 +370,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 10,
"id": "3af97ce0-6105-474f-b487-7b9756bad676",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -472,7 +472,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 13,
"id": "eb16c069-2258-49a1-93b4-df0b03b255d8",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -583,12 +583,12 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 22,
"id": "205ee22a-407f-4826-9499-afafe2d00ecc",
"metadata": {},
"outputs": [],
"source": [
"druid.datasources.drop(table_name, True)"
"druid.datasources.drop(\"example-clickstream-transforms\", True)"
]
},
{
Expand Down Expand Up @@ -626,7 +626,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.6"
"version": "3.12.7"
}
},
"nbformat": 4,
Expand Down
200 changes: 13 additions & 187 deletions notebooks/03-query/08-functions-strings.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -58,71 +58,10 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"id": "c1ec783b-df3f-4168-9be2-cdc6ad3e33c2",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Opening a connection to http://router:8888.\n"
]
},
{
"data": {
"text/html": [
"\n",
"<style>\n",
" .druid table {\n",
" border: 1px solid black;\n",
" border-collapse: collapse;\n",
" }\n",
"\n",
" .druid th, .druid td {\n",
" padding: 4px 1em ;\n",
" text-align: left;\n",
" }\n",
"\n",
" td.druid-right, th.druid-right {\n",
" text-align: right;\n",
" }\n",
"\n",
" td.druid-center, th.druid-center {\n",
" text-align: center;\n",
" }\n",
"\n",
" .druid .druid-left {\n",
" text-align: left;\n",
" }\n",
"\n",
" .druid-alert {\n",
" font-weight: bold;\n",
" }\n",
"\n",
" .druid-error {\n",
" color: red;\n",
" }\n",
"</style>\n"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/plain": [
"'30.0.0'"
]
},
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"import druidapi\n",
"import os\n",
Expand Down Expand Up @@ -156,46 +95,10 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"id": "f52a94fb-d2e4-403f-ab10-84d3af7bf2c8",
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"Loading data, status:[SUCCESS]: 100%|██████████| 100.0/100.0 [00:19<00:00, 5.20it/s]\n"
]
},
{
"data": {
"text/html": [
"<div class=\"druid\"><table>\n",
"<tr><th>Position</th><th>Name</th><th>Type</th></tr>\n",
"<tr><td>1</td><td>__time</td><td>TIMESTAMP</td></tr>\n",
"<tr><td>2</td><td>referrer</td><td>VARCHAR</td></tr>\n",
"<tr><td>3</td><td>event_type</td><td>VARCHAR</td></tr>\n",
"<tr><td>4</td><td>event_subtype</td><td>VARCHAR</td></tr>\n",
"<tr><td>5</td><td>city</td><td>VARCHAR</td></tr>\n",
"<tr><td>6</td><td>os</td><td>VARCHAR</td></tr>\n",
"<tr><td>7</td><td>continent</td><td>VARCHAR</td></tr>\n",
"<tr><td>8</td><td>country</td><td>VARCHAR</td></tr>\n",
"<tr><td>9</td><td>XXXXXcountryXXXXX</td><td>VARCHAR</td></tr>\n",
"<tr><td>10</td><td>browser</td><td>VARCHAR</td></tr>\n",
"<tr><td>11</td><td>session</td><td>VARCHAR</td></tr>\n",
"<tr><td>12</td><td>session_length</td><td>BIGINT</td></tr>\n",
"<tr><td>13</td><td>screen</td><td>VARCHAR</td></tr>\n",
"<tr><td>14</td><td>loaded_image</td><td>VARCHAR</td></tr>\n",
"</table></div>"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"sql='''\n",
"REPLACE INTO \"example-koalas-strings\" OVERWRITE ALL\n",
Expand Down Expand Up @@ -269,26 +172,10 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"id": "b9abf5a4-e9a3-408e-ae40-05fb85057849",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div class=\"druid\"><table>\n",
"<tr><th>events</th></tr>\n",
"<tr><td>8669</td></tr>\n",
"</table></div>"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"sql='''\n",
"SELECT\n",
Expand All @@ -315,26 +202,10 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"id": "42d09b48-c2f5-465c-aed1-774ca818bc7e",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div class=\"druid\"><table>\n",
"<tr><th>google_referred_sessions</th><th>not_google_referred_sessions</th></tr>\n",
"<tr><td>1031</td><td>1068</td></tr>\n",
"</table></div>"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"sql='''\n",
"SELECT\n",
Expand All @@ -359,31 +230,10 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": null,
"id": "bbe2366a-f9d1-455c-bc91-4cf960da0a29",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div class=\"druid\"><table>\n",
"<tr><th>time</th><th>suspicious_errors</th><th>secure_suspicious_errors</th></tr>\n",
"<tr><td>2019-08-25T12:00:00.000Z</td><td>0</td><td>0</td></tr>\n",
"<tr><td>2019-08-25T13:00:00.000Z</td><td>0</td><td>0</td></tr>\n",
"<tr><td>2019-08-25T14:00:00.000Z</td><td>2</td><td>0</td></tr>\n",
"<tr><td>2019-08-25T15:00:00.000Z</td><td>0</td><td>0</td></tr>\n",
"<tr><td>2019-08-25T16:00:00.000Z</td><td>0</td><td>0</td></tr>\n",
"<tr><td>2019-08-25T17:00:00.000Z</td><td>3</td><td>2</td></tr>\n",
"</table></div>"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"sql='''\n",
"SELECT\n",
Expand Down Expand Up @@ -419,34 +269,10 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": null,
"id": "f2234b60-8b02-460d-bddd-d9076f369a4f",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div class=\"druid\"><table>\n",
"<tr><th>CITY</th><th>os</th><th>yrtnuoc</th></tr>\n",
"<tr><td>BRANTFORD</td><td>windows</td><td>adanaC</td></tr>\n",
"<tr><td>BULIMBA</td><td>windows</td><td>ailartsuA</td></tr>\n",
"<tr><td>ENGLEWOOD</td><td>chrome os</td><td>setatS detinU</td></tr>\n",
"<tr><td>GALLATIN</td><td>windows</td><td>setatS detinU</td></tr>\n",
"<tr><td>INDIANAPOLIS</td><td>android</td><td>setatS detinU</td></tr>\n",
"<tr><td>MANHUACU</td><td>windows</td><td>lizarB</td></tr>\n",
"<tr><td>PFLUGERVILLE</td><td>windows</td><td>setatS detinU</td></tr>\n",
"<tr><td>RICHARDSON</td><td>windows</td><td>setatS detinU</td></tr>\n",
"<tr><td>SANTIAGO DE CALI</td><td>windows</td><td>aibmoloC</td></tr>\n",
"</table></div>"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"sql='''\n",
"SELECT DISTINCT\n",
Expand Down Expand Up @@ -921,7 +747,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.3"
"version": "3.12.7"
}
},
"nbformat": 4,
Expand Down

0 comments on commit d9e92be

Please sign in to comment.