Creates an options instance with the given format Default values: - use default file extension filter - no input partition to discover - one target partition - do not collect statistics
(format: Arc<dyn FileFormat>)
| 71 | /// - one target partition |
| 72 | /// - do not collect statistics |
| 73 | pub fn new(format: Arc<dyn FileFormat>) -> Self { |
| 74 | Self { |
| 75 | file_extension: format.get_ext(), |
| 76 | format, |
| 77 | table_partition_cols: vec![], |
| 78 | collect_stat: false, |
| 79 | target_partitions: 1, |
| 80 | file_sort_order: vec![], |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | /// Set options from [`SessionConfig`] and returns self. |
| 85 | /// |