You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
This will make the code a bit cleaner and help with simpler code in #4908.
Describe the solution you'd like
We want to implement a trait ReadOptions which will implemented for CsvReadOptions and other similar structs. The trait will be as follows:
pubtraitReadOptions<'a>{/// Helper to convert these user facing options to `ListingTable` optionsfnto_listing_options(&self,target_partitions:usize) -> ListingOptions;///asyncfnget_resolved_schema(&self,target_partitions:usize,state:SessionState,table_path:ListingTableUrl,) -> Result<SchemaRef>;}
Describe alternatives you've considered
Nothing here.
Additional context
This will help with simpler code in #4908.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
This will make the code a bit cleaner and help with simpler code in #4908.
Describe the solution you'd like
We want to implement a trait
ReadOptions
which will implemented forCsvReadOptions
and other similar structs. The trait will be as follows:Describe alternatives you've considered
Nothing here.
Additional context
This will help with simpler code in #4908.
The text was updated successfully, but these errors were encountered: