Returns a [`SessionConfig`] with the given options
(&self)
| 66 | impl ParquetScanOptions { |
| 67 | /// Returns a [`SessionConfig`] with the given options |
| 68 | pub fn config(&self) -> SessionConfig { |
| 69 | let mut config = ConfigOptions::new(); |
| 70 | config.execution.parquet.pushdown_filters = self.pushdown_filters; |
| 71 | config.execution.parquet.reorder_filters = self.reorder_filters; |
| 72 | config.execution.parquet.enable_page_index = self.enable_page_index; |
| 73 | config.into() |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | impl TestParquetFile { |