@@ -46,7 +46,7 @@ pub struct ListingOptions {
46
46
pub file_extension : String ,
47
47
/// The file format
48
48
pub format : Arc < dyn FileFormat > ,
49
- /// The expected partition column names.
49
+ /// The expected partition column names in the folder structure .
50
50
/// For example `Vec["a", "b"]` means that the two first levels of
51
51
/// partitioning expected should be named "a" and "b":
52
52
/// - If there is a third level of partitioning it will be ignored.
@@ -55,11 +55,11 @@ pub struct ListingOptions {
55
55
/// TODO implement case where partitions.len() > 0
56
56
pub partitions : Vec < String > ,
57
57
/// Set true to try to guess statistics from the files.
58
- /// This can add a lot of overhead as it requires files to
59
- /// be opened and partially parsed.
58
+ /// This can add a lot of overhead as it will usually require files
59
+ /// to be opened and at least partially parsed.
60
60
pub collect_stat : bool ,
61
- /// Group files to avoid that the number of partitions
62
- /// exceeds this limit
61
+ /// Group files to avoid that the number of partitions exceeds
62
+ /// this limit
63
63
pub target_partitions : usize ,
64
64
}
65
65
@@ -80,8 +80,8 @@ impl ListingOptions {
80
80
}
81
81
}
82
82
83
- /// Infer the schema of the files at the given uri, including the partitioning
84
- /// columns.
83
+ /// Infer the schema of the files at the given path on the provided object store.
84
+ /// The inferred schema should include the partitioning columns.
85
85
///
86
86
/// This method will not be called by the table itself but before creating it.
87
87
/// This way when creating the logical plan we can decide to resolve the schema
0 commit comments