Gravity can read data files from several destinations. The same principles apply to all file source types.
The destination file format can be set for each job. Gravity supports the following file formats:
Gravity can read partitioned files. If the file is partitioned, select the appropriate directory path for the file. Gravity will recursively ingest all files that are identified by name.
Gravity can read compressed files. The compression type depends on the file format selected. The table below describes which compression types are available for each file format.
Depending on the destination, Gravity may need to flatten the source data before loading it. The table below describes how Gravity handles nested source data. If required, the objects will be flattened as specified by the ** _data model**_ configuration.
For parquet and JSON source files the following data model configurations are available: