Skip to content

Commit 86c5ade

Browse files
author
kx79wq
committed
fix: update of spark example notebook
1 parent 7f130bd commit 86c5ade

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

histogrammar/notebooks/histogrammar_tutorial_advanced.ipynb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
{
44
"cell_type": "markdown",
55
"metadata": {
6+
"collapsed": false,
67
"jupyter": {
78
"outputs_hidden": false
89
},
@@ -118,9 +119,9 @@
118119
"# for spark 2.X, in the jars string, for both jar files change \"_2.12\" into \"_2.11\".\n",
119120
"\n",
120121
"if pyspark_installed:\n",
121-
" scala = '2.12' if int(pyspark_version[0]) >= 3 else '2.11'\n",
122-
" hist_jar = f'io.github.histogrammar:histogrammar_{scala}:1.0.20'\n",
123-
" hist_spark_jar = f'io.github.histogrammar:histogrammar-sparksql_{scala}:1.0.20'\n",
122+
" scala = '2.12' if int(pyspark_version[0]) == 3 else '2.13'\n",
123+
" hist_jar = f'io.github.histogrammar:histogrammar_{scala}:1.0.30'\n",
124+
" hist_spark_jar = f'io.github.histogrammar:histogrammar-sparksql_{scala}:1.0.30'\n",
124125
"\n",
125126
" spark = SparkSession.builder.config(\n",
126127
" \"spark.jars.packages\", f'{hist_spark_jar},{hist_jar}'\n",
@@ -521,7 +522,7 @@
521522
"name": "python",
522523
"nbconvert_exporter": "python",
523524
"pygments_lexer": "ipython3",
524-
"version": "3.7.6"
525+
"version": "3.11.11"
525526
},
526527
"nteract": {
527528
"version": "0.15.0"

0 commit comments

Comments
 (0)