Skip to content

Commit

Permalink
Update references for 0.16.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
srowen committed Jan 5, 2023
1 parent d376877 commit 088c83f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ You can link against this library in your program at the following coordinates:
```
groupId: com.databricks
artifactId: spark-xml_2.12
version: 0.15.0
version: 0.16.0
```

## Using with Spark shell

This package can be added to Spark using the `--packages` command line option. For example, to include it when starting the spark shell:

```
$SPARK_HOME/bin/spark-shell --packages com.databricks:spark-xml_2.12:0.15.0
$SPARK_HOME/bin/spark-shell --packages com.databricks:spark-xml_2.12:0.16.0
```

## Features
Expand Down Expand Up @@ -397,7 +397,7 @@ Automatically infer schema (data types)
```R
library(SparkR)

sparkR.session("local[4]", sparkPackages = c("com.databricks:spark-xml_2.12:0.15.0"))
sparkR.session("local[4]", sparkPackages = c("com.databricks:spark-xml_2.12:0.16.0"))

df <- read.df("books.xml", source = "xml", rowTag = "book")

Expand All @@ -409,7 +409,7 @@ You can manually specify schema:
```R
library(SparkR)

sparkR.session("local[4]", sparkPackages = c("com.databricks:spark-xml_2.12:0.15.0"))
sparkR.session("local[4]", sparkPackages = c("com.databricks:spark-xml_2.12:0.16.0"))
customSchema <- structType(
structField("_id", "string"),
structField("author", "string"),
Expand Down

0 comments on commit 088c83f

Please sign in to comment.