Skip to main content
Version: Java (Groovy)

Data import / export cheat sheet

CSV

import static io.deephaven.csv.CsvTools.readCsv
import static io.deephaven.csv.CsvTools.writeCsv

result = readCsv("/data/inputFile.csv", csvSpecs)
writeCsv(table, "/data/outputFile.csv")

Parquet

import static io.deephaven.parquet.table.ParquetTools.readTable
import static io.deephaven.parquet.table.ParquetTools.writeTable

result = readTable("/data/inputFile.parquet")
result = readTable("/data/inputDirectory")
writeTable(source, "/data/output.parquet") // source as any table in Deephaven

Kafka

// No current groovy environment