Function datafusion::datasource::physical_plan::parquet::plan_to_parquet
source ยท pub async fn plan_to_parquet(
task_ctx: Arc<TaskContext>,
plan: Arc<dyn ExecutionPlan>,
path: impl AsRef<str>,
writer_properties: Option<WriterProperties>
) -> Result<()>
Expand description
Executes a query and writes the results to a partitioned Parquet file.