Skip to content

Commit 6863972

Browse files
author
kx79wq
committed
fix: updated readme file for Spark 4
1 parent 89b8176 commit 6863972

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,19 @@ Changes
3838
See Changes log `here <https://github.com/histogrammar/histogrammar-python/blob/master/CHANGES.rst>`_.
3939

4040

41-
Spark 3.X
42-
---------
41+
Spark
42+
-----
4343

44-
With Spark 3.X, based on Scala 2.12 or 2.13, make sure to pick up the correct histogrammar jar files:
44+
With Spark, make sure to pick up the correct histogrammar jar files. Spark 4.X is based on Scala 2.13; Spark 3.X is based on Scala 2.12 or 2.13.
4545

4646
.. code-block:: python
4747
48-
spark = SparkSession.builder.config("spark.jars.packages", "io.github.histogrammar:histogrammar_2.12:1.0.30,io.github.histogrammar:histogrammar-sparksql_2.12:1.0.30").getOrCreate()
48+
spark = SparkSession.builder.config("spark.jars.packages", "io.github.histogrammar:histogrammar_2.13:1.0.30,io.github.histogrammar:histogrammar-sparksql_2.13:1.0.30").getOrCreate()
4949
5050
51-
For Scala 2.13, in the string above simply replace "2.12" with "2.13".
51+
For Scala 2.12, in the string above simply replace "2.13" with "2.12".
5252

53-
December, 2023
53+
September, 2025
5454

5555

5656
Example notebooks

0 commit comments

Comments
 (0)