Skip to content

Commit 619ace3

Browse files
author
mykola
committed
Updated readme
1 parent 3f55b61 commit 619ace3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ Binary package is available in the Maven Central Repository.
8686

8787
- **Spark 3.5.***: com.stabrise:spark-pdf-spark35_2.12:0.1.17
8888
- **Spark 3.4.***: com.stabrise:spark-pdf-spark34_2.12:0.1.11 (issue with publishing fresh version)
89-
- **Spark 3.3.***: com.stabrise:spark-pdf-spark33_2.12:0.1.16
90-
- **Spark 4.0.***: com.stabrise:spark-pdf-spark40_2.13:0.1.16
89+
- **Spark 3.3.***: com.stabrise:spark-pdf-spark33_2.12:0.1.17
90+
- **Spark 4.0.***: com.stabrise:spark-pdf-spark40_2.13:0.1.17
9191

9292
## Options for the data source:
9393

@@ -159,6 +159,7 @@ val df = spark.read.format("pdf")
159159
.option("pagePerPartition", "2")
160160
.option("reader", "pdfBox")
161161
.option("ocrConfig", "psm=11")
162+
.option("password", "pdf_password")
162163
.load("path to the pdf file(s)")
163164

164165
df.select("path", "document").show()
@@ -181,6 +182,7 @@ df = spark.read.format("pdf") \
181182
.option("pagePerPartition", "2") \
182183
.option("reader", "pdfBox") \
183184
.option("ocrConfig", "psm=11") \
185+
.option("password", "pdf_password") \
184186
.load("path to the pdf file(s)")
185187

186188
df.select("path", "document").show()

0 commit comments

Comments
 (0)