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
Add pluggable CSV reader architecture for S3FSCursor
- Add AthenaCSVReader (default): Custom parser that distinguishes NULL
(unquoted empty) from empty string (quoted empty "")
- Add DefaultCSVReader: Python's standard csv module wrapper for
backward compatibility (both NULL and empty string become empty string)
- Support multi-line quoted fields in AthenaCSVReader with optimized
incremental quote state tracking (O(n) complexity)
- Add csv_reader parameter to S3FSCursor and AsyncS3FSCursor
- Refactor result_set.py to remove unnecessary instance variables
- Move header skipping to _init_csv_reader() for cleaner initialization
- Update documentation with CSV reader options and NULL handling details
- Add comprehensive unit tests for both CSV readers
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments