raulcd opened a new pull request, #13064:
URL: https://github.com/apache/arrow/pull/13064

   The added test failed previously because the `autogenerate_column_names` was 
ignored:
   ```
   E   pyarrow.lib.ArrowInvalid: Error creating dataset. Could not read schema 
from '/tmp/pytest-of/pytest-15/test_csv_format_options_genera1/test.csv': Could 
not open CSV input source 
'/tmp/pytest-of/pytest-15/test_csv_format_options_genera1/test.csv': Invalid: 
CSV file contained multiple columns named 1. Is this a 'csv' file?
   ```
   Use the same approach we use on `GenerateColumnNames` here 
https://github.com/apache/arrow/blob/master/cpp/src/arrow/csv/reader.cc#L637-L646


-- 
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