ParquetWrite¶
ParquetWrite is a FileWrite of ParquetTable in Parquet Connector.
Creating Instance¶
ParquetWrite takes the following to be created:
- Paths
- Format Name
-
supportsDataTypefunction (DataType => Boolean) -
LogicalWriteInfo
ParquetWrite is created when:
ParquetTableis requested for a WriteBuilder
Preparing Write Job¶
FileWrite
prepareWrite(
sqlConf: SQLConf,
job: Job,
options: Map[String, String],
dataSchema: StructType): OutputWriterFactory
prepareWrite is part of the FileWrite abstraction.
prepareWrite creates a ParquetOptions (for the given options and SQLConf).
In the end, prepareWrite prepareWrite.