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
Testing using the s3 bucket derek-tap-filetesting failed due to the deniro.csv file with the error:
Traceback (most recent call last):
File "/git/tap-universal-file/.venv/lib/python3.11/site-packages/singer_sdk/streams/core.py", line 1166, in sync
for _ in self._sync_records(context=context):
File "/git/tap-universal-file/.venv/lib/python3.11/site-packages/singer_sdk/streams/core.py", line 1061, in _sync_records
for record_result in self.get_records(current_context):
File "/git/tap-universal-file/tap_universal_file/client.py", line 197, in get_records
yield from self.get_rows()
File "/git/tap-universal-file/tap_universal_file/streams.py", line 30, in get_rows
for row in reader:
File "/git/tap-universal-file/tap_universal_file/streams.py", line 186, in __next__
raise RuntimeError(msg)
RuntimeError: Error processing derek-tap-filetesting/2023/deniro.csv at line 4. Total number of column headers (3) doesn't align with the number of fields in the data (4). To suppress this error, change delimited_error_handling to 'ignore'.
Currently, the tap interprets line 4 as being four separate fields despite the doublequotes around Hi, Mom! because it sees that the first character after the comma following 73 is a space. Implementing skipinitialspace from csv.DictReader would solve this issue.
The text was updated successfully, but these errors were encountered:
Testing using the s3 bucket derek-tap-filetesting failed due to the deniro.csv file with the error:
The first lines of the deniro.csv file are:
Currently, the tap interprets line 4 as being four separate fields despite the doublequotes around
Hi, Mom!
because it sees that the first character after the comma following 73 is a space. Implementing skipinitialspace from csv.DictReader would solve this issue.The text was updated successfully, but these errors were encountered: