Developer1010x commented on issue #25213:
URL: https://github.com/apache/datafusion/issues/25213#issuecomment-5651532367

   Opened #25254 with the fix. Two things I found while implementing it that 
aren't in the issue above: `builder()` has three callers, not one — the two 
streaming decoder paths in `CsvOpener::open` were missing the regex for the 
same reason — and `CsvFormat::infer_schema` currently `.expect()`s on the 
regex, so a malformed pattern panics there today. The PR makes `builder()` 
return `Result` rather than adding a second panic.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to