Denis I.
03/23/2023, 8:00 PMtap-csv (https://github.com/MeltanoLabs/tap-csv) 🙂
Documentation states “_path: Local path to the file to be ingested. Note that this may be a directory, in which case all files in that directory and any of its subdirectories will be recursively processed_”, but in the code I see os.listdir function used to get files list from the path (so only top-folder files processed).
Most probably my question is specificaly to tap’s maintainer @pat_nadolny, but everyone else with the same issue is welcome inside!Denis I.
03/23/2023, 8:09 PMpat_nadolny
03/24/2023, 1:51 PMpat_nadolny
03/24/2023, 1:54 PMpat_nadolny
03/24/2023, 1:54 PMpat_nadolny
03/24/2023, 1:56 PMDenis I.
03/24/2023, 1:58 PMDenis I.
03/24/2023, 2:02 PMDenis I.
03/24/2023, 2:05 PMos.walk version, since it’s a bit cleaner than the recursion call?Denis I.
03/24/2023, 2:07 PMDenis I.
03/24/2023, 2:11 PMpat_nadolny
03/24/2023, 2:13 PMI can only imagine envs that already use the tap. Assuming that it’s a rare case when a folder with csv files has subfolders with unrelated csv files, I’d vote for the simple bugfix with recursive call ressurection.I agree - it was documented that it was recursive so its more of a bug that a breaking change.
pat_nadolny
03/24/2023, 2:15 PMDenis I.
03/24/2023, 2:16 PMpat_nadolny
03/24/2023, 2:30 PMDenis I.
03/24/2023, 2:32 PMpat_nadolny
03/24/2023, 4:20 PMDenis I.
03/24/2023, 5:26 PMpat_nadolny
03/24/2023, 7:14 PM