Skip to content

Commit

Permalink
[DOP-16967] Fix version number in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfinus committed Oct 2, 2024
1 parent b4ba372 commit cd0d92b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/using_the_dialect.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
]

Expand Down Expand Up @@ -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",
Expand All @@ -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.
Expand Down

0 comments on commit cd0d92b

Please sign in to comment.