pub fn infer_schema<R: Read>( reader: &mut BufReader<R>, ) -> Result<Schema, String>
Infers the schema of CSV by reading one record.
Returns an error if there is no data to read from reader.
reader