XiNiHa opened a new issue, #10143:
URL: https://github.com/apache/arrow-rs/issues/10143

   ### Is your feature request related to a problem or challenge?
   
   Currently, the CSV decoder blindly skips over the header row. However, since 
we have a schema to parse against, it'd be desirable in some cases to verify 
the headers against it to ensure the CSV file has the expected structure.
   
   ### Describe the solution you'd like
   
   Add a new `ReaderBuilder` method `.with_header_validation(bool)` to enable 
CSV header validation, which verifies each value in the first CSV row against 
the schema to ensure the field names match the header columns.
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to