We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e45eb6 commit 02b45c6Copy full SHA for 02b45c6
datafusion/datasource/src/file_format.rs
@@ -73,7 +73,10 @@ pub trait FileFormat: Send + Sync + fmt::Debug {
73
objects: &[ObjectMeta],
74
) -> Result<SchemaRef>;
75
76
- /// Transform the schema of the provided object. The cost and accuracy of the
+ /// Transform the schema of the provided object. For example for parquet files:
77
+ /// 1. Transform a schema so that any binary types are strings
78
+ /// 2. Transform a schema to use view types for Utf8 and Binary
79
+ /// Other file formats may have other transformations, but currently only for parquet
80
async fn transform_schema(&self, schema: SchemaRef) -> Result<SchemaRef>;
81
82
/// Infer the statistics for the provided object. The cost and accuracy of the
0 commit comments