Skip to content

Commit

Permalink
update of README jar files section
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaak committed Dec 26, 2023
1 parent 4911774 commit 6b26203
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,19 @@ Changes
See Changes log `here <https://github.com/histogrammar/histogrammar-python/blob/master/CHANGES.rst>`_.


Spark 3.0
Spark 3.X
---------

With Spark 3.0, based on Scala 2.12, make sure to pick up the correct histogrammar jar file:
With Spark 3.X, based on Scala 2.12 or 3.13, make sure to pick up the correct histogrammar jar files:

.. code-block:: python
spark = SparkSession.builder.config("spark.jars.packages", "io.github.histogrammar:histogrammar_2.12:1.0.20,io.github.histogrammar:histogrammar-sparksql_2.12:1.0.20").getOrCreate()
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()
For Spark 2.X compiled against scala 2.11, in the string above simply replace "2.12" with "2.11".
February, 2021
For Scala 2.13, in the string above simply replace "2.12" with "2.13".

December, 2023


Example notebooks
Expand Down

0 comments on commit 6b26203

Please sign in to comment.