From 91d539b5f11b32e39f39fdf98b8229a6ec216689 Mon Sep 17 00:00:00 2001 From: Torsten Kilias Date: Fri, 23 Aug 2024 16:22:44 +0200 Subject: [PATCH] Clear outputs for CSE notebooks [CodeBuild] --- .../files/notebook/cloud/01_import_data.ipynb | 66 +++---------------- 1 file changed, 10 insertions(+), 56 deletions(-) diff --git a/exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/cloud/01_import_data.ipynb b/exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/cloud/01_import_data.ipynb index 13ce8452..c4c36edd 100644 --- a/exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/cloud/01_import_data.ipynb +++ b/exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/cloud/01_import_data.ipynb @@ -45,7 +45,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "id": "a3e09393f1b792f2", "metadata": { "collapsed": false, @@ -53,36 +53,7 @@ "outputs_hidden": false } }, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "d575d602a1d347e7a30f07fef7607002", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Output()" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "aa35bc3962144befa6b3adfab142c29c", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Box(children=(Box(children=(Label(value='Configuration Store', layout=Layout(border_bottom='solid 1px', border…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "%run ../utils/access_store_ui.ipynb\n", "display(get_access_store_ui('../'))" @@ -105,7 +76,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "id": "95d09c1457b4ae0b", "metadata": { "collapsed": false, @@ -113,15 +84,7 @@ "outputs_hidden": false } }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Could Storage Extension was initialized\n" - ] - } - ], + "outputs": [], "source": [ "%run ../cloud_store_config.ipynb" ] @@ -145,7 +108,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "id": "6003fd367d36d89a", "metadata": { "collapsed": false, @@ -195,7 +158,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "id": "21cfe3edd3246a51", "metadata": { "ExecuteTime": { @@ -248,7 +211,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "id": "b2ec486162082706", "metadata": { "ExecuteTime": { @@ -295,7 +258,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": null, "id": "58c142629eb67bae", "metadata": { "ExecuteTime": { @@ -342,7 +305,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "id": "a65f19ecc0ce237a", "metadata": { "collapsed": false, @@ -350,16 +313,7 @@ "outputs_hidden": false } }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Loaded 3231245 rows\n", - "('0212113210312302', 'POLYGON((-114.32373046875 53.1829958600872, -114.318237304688 53.1829958600872, -114.318237304688 53.1797038936054, -114.32373046875 53.1797038936054, -114.32373046875 53.1829958600872))', '39647', '29770', '30', '1', '1')\n" - ] - } - ], + "outputs": [], "source": [ "with open_pyexasol_connection(ai_lab_config) as conn:\n", " data_rows = conn.execute(\"select count(*) from {schema!i}.{table!i}\", query_params=params)\n",