From cd0d92beba24ebcb1b8dcfda79a01cf2e3f692d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D1=80=D1=82=D1=8B=D0=BD=D0=BE=D0=B2=20=D0=9C?= =?UTF-8?q?=D0=B0=D0=BA=D1=81=D0=B8=D0=BC=20=D0=A1=D0=B5=D1=80=D0=B3=D0=B5?= =?UTF-8?q?=D0=B5=D0=B2=D0=B8=D1=87?= Date: Wed, 2 Oct 2024 16:38:23 +0300 Subject: [PATCH] [DOP-16967] Fix version number in examples --- docs/using_the_dialect.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/using_the_dialect.md b/docs/using_the_dialect.md index 9380388..4c53a15 100644 --- a/docs/using_the_dialect.md +++ b/docs/using_the_dialect.md @@ -12,7 +12,7 @@ from onetl.connection import Clickhouse # describe packages should be loaded by Spark maven_packages = [ - "io.github.mtsongithub.doetl:spark-dialect-extension_2.12:0.0.1", + "io.github.mtsongithub.doetl:spark-dialect-extension_2.12:0.0.2", *Clickhouse.get_packages(), ] @@ -56,7 +56,7 @@ import org.apache.spark.sql.SparkSession // describe packages should be loaded by Spark var maven_packages = Array( - "io.github.mtsongithub.doetl:spark-dialect-extension_2.12:0.0.1", + "io.github.mtsongithub.doetl:spark-dialect-extension_2.12:0.0.2", "com.clickhouse:clickhouse-jdbc:0.6.5", "com.clickhouse:clickhouse-http-client:0.6.5", "org.apache.httpcomponents.client5:httpclient5::5.3.1", @@ -82,7 +82,7 @@ df.write.jdbc.options(...).save() Start Spark session with downloaded packages: ```bash -spark-submit --conf spark.jars.packages=io.github.mtsongithub.doetl:spark-dialect-extension_2.12:0.0.1,com.clickhouse:clickhouse-jdbc:0.6.5,com.clickhouse:clickhouse-http-client:0.6.5,org.apache.httpcomponents.client5:httpclient5::5.3.1 ... +spark-submit --conf spark.jars.packages=io.github.mtsongithub.doetl:spark-dialect-extension_2.12:0.0.2,com.clickhouse:clickhouse-jdbc:0.6.5,com.clickhouse:clickhouse-http-client:0.6.5,org.apache.httpcomponents.client5:httpclient5::5.3.1 ... ``` And then register custom dialect in started session.