Gravity can write data files to several destinations. The same principles apply to all file destination types.
The destination file format can be set for each job. Gravity supports the following file formats:
- CSV: Gravity generates semi-colon (;) delimited files. Values are quoted (") to handle special characters
- Parquet: Gravity generates Parquet standard Parquet files. The block size, page size, group size and row count can be customised for each job if required.
File partitioning is available for Append jobs. Gravity supports partitioning files using the following formats.
Files cannot be partitioned by a source column at this time.
The above partitions are not applicable for Delete and Replace job mode since the file is replace every run.
Destination files can be compressed. The compression type depends on the file format selected. The table below describes which compression types are available for each file format.