fn build_encoder( schema: SchemaRef, limits: Option<ParquetWriterLimits>, path: &str, ) -> Result<ArrowWriter<Vec<u8>>>