Skip to content

Commit

Permalink
fix: add public with_file_extension
Browse files Browse the repository at this point in the history
  • Loading branch information
tshauck committed Jul 16, 2024
1 parent 256854c commit 2dd2e84
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions exon/exon-core/src/datasources/sdf/table_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ impl ListingSDFTableOptions {
self
}

/// Update the file extension
pub fn with_file_extension(mut self, file_extension: String) -> Self {
self.file_extension = file_extension;
self
}

/// Infer the schema of the files in the table
pub async fn infer_schema<'a>(
&'a self,
Expand Down

0 comments on commit 2dd2e84

Please sign in to comment.