Skip to content

Commit 5c20a0d

Browse files
authored
Add SQL database reading to documentation (#464)
1 parent ce45ed4 commit 5c20a0d

File tree

5 files changed

+472
-1
lines changed

5 files changed

+472
-1
lines changed

docs/StardustDocs/d.tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
</toc-element>
4545
<toc-element topic="io.md">
4646
<toc-element topic="read.md"/>
47+
<toc-element topic="readSqlDatabases.md"/>
4748
<toc-element topic="write.md"/>
4849
</toc-element>
4950
<toc-element topic="info.md">

docs/StardustDocs/sitemap.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,11 @@
417417
<lastmod>2023-06-26T12:33:14+00:00</lastmod>
418418
<priority>0.51</priority>
419419
</url>
420+
<url>
421+
<loc>https://kotlin.github.io/dataframe/readSqlDatabases.html</loc>
422+
<lastmod>2023-06-26T12:33:14+00:00</lastmod>
423+
<priority>0.51</priority>
424+
</url>
420425
<url>
421426
<loc>https://kotlin.github.io/dataframe/createdataframe.html</loc>
422427
<lastmod>2023-06-26T12:33:14+00:00</lastmod>
@@ -714,4 +719,4 @@
714719
</url>
715720

716721

717-
</urlset>
722+
</urlset>

docs/StardustDocs/topics/io.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
When you work with data, you have to [read](read.md) it from disk or from remote URLs and [write](write.md) it on disk.
44
This section describes how to do it. For now, CSV, TSV, JSON, XLS, XLSX, Apache Arrow formats are supported.
55

6+
The reading from SQL databases is also supported. Read [here](readSqlDatabases.md) to know more.
7+
68
Working with [Apache Spark](https://spark.apache.org/) directly from Kotlin DataFrame is not possible at the time of
79
writing. However, there is a [Kotlin Spark API](https://github.com/Kotlin/kotlin-spark-api) which we can recommend in
810
the meantime. If you do want to work with data from Spark in Kotlin DataFrame, we recommend exporting your data to CSV or

docs/StardustDocs/topics/read.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
The Kotlin DataFrame library supports CSV, TSV, JSON, XLS and XLSX, and Apache Arrow input formats.
55

6+
The reading from SQL databases is also supported. Read [here](readSqlDatabases.md) to know more.
7+
68
The `.read()` function automatically detects the input format based on a file extension and content:
79

810
```kotlin

0 commit comments

Comments
 (0)