A FileFormat
holds information about how to read and parse the files
included in a Source
. There are subclasses corresponding to the supported
file formats (ParquetFileFormat
and IpcFileFormat
).
FileFormat$create()
takes the following arguments:
format
: A string identifier of the format of the files in path
.
Currently supported options are "parquet", "arrow", and "ipc" (an alias for
the Arrow file format)
...
: Additional format-specific options
It returns the appropriate subclass of FileFormat
(e.g. ParquetFileFormat
)