Executes a query and writes the results to a partitioned CSV file.
(
&self,
plan: Arc<dyn ExecutionPlan>,
path: impl AsRef<str>,
)
| 85 | |
| 86 | /// Executes a query and writes the results to a partitioned CSV file. |
| 87 | pub async fn write_csv( |
| 88 | &self, |
| 89 | plan: Arc<dyn ExecutionPlan>, |
| 90 | path: impl AsRef<str>, |
| 91 | ) -> Result<()> { |
| 92 | plan_to_csv(self.task_ctx(), plan, path).await |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | #[cfg(test)] |
no test coverage detected