Input/output
When you work with data, you have to read it from disk or from remote URLs and write it on disk. This section describes how to do it. For now, CSV, TSV, JSON, XLS, XLSX, Apache Arrow formats are supported.
The reading from SQL databases is also supported. Read here to know more.
Working with Apache Spark directly from Kotlin DataFrame is not possible at the time of writing. However, there is a Kotlin Spark API which we can recommend in the meantime. If you do want to work with data from Spark in Kotlin DataFrame, we recommend exporting your data to CSV or the Apache Arrow format and then reading it back into a DataFrame.
Last modified: 27 September 2024