Denis I.
03/21/2023, 3:00 PMtap-csv →`target-postgres`.
Each file has it’s own unique name which is related to unique source, but rows are not unique between the files.
Is there a way to get the source file name from tap-csv?Denis I.
03/21/2023, 3:01 PMtap-spreadsheets-anywhere, but it doesn’t have an option to set encoding and requires addition plugin to do inline mappingspat_nadolny
03/21/2023, 3:15 PMappend_file_metadata
• add the file name as a header and add to each record if that config is setDenis I.
03/21/2023, 3:22 PMDenis I.
03/21/2023, 3:26 PMpat_nadolny
03/21/2023, 3:36 PMDenis I.
03/21/2023, 3:44 PMappend_file_metadata should be on the tap options level, not on the files one. Right?Denis I.
03/21/2023, 3:45 PMpat_nadolny
03/21/2023, 3:47 PMappend_file_metadata , that was just the first thing that came to mind. I wonder if theres precedence elsewhere for a name.pat_nadolny
03/21/2023, 3:47 PMI could try to implement it if you don’t mind100% that would be awesome and much appreciated! 🚀
Denis I.
03/21/2023, 3:53 PMtap-spreadsheets-anywherepat_nadolny
03/21/2023, 4:02 PMpat_nadolny
03/21/2023, 4:04 PMDenis I.
03/21/2023, 4:13 PMDenis I.
03/21/2023, 7:01 PMadd_metadata_columns is enabled, adds 3 new columns to the stream:
_sdc_source_file
_sdc_source_lineno
_sdc_source_file_mtimepat_nadolny
03/21/2023, 7:46 PMDenis I.
03/21/2023, 8:31 PMpat_nadolny
03/21/2023, 10:07 PMmeltano lock tap-csv --update to pull in that hub updateDenis I.
03/22/2023, 6:56 AMsteve_clarke
03/27/2023, 12:28 AMDenis I.
03/27/2023, 11:41 AMtap-spreadsheets-anywhere and use it as a base SDK for taps like tap-csv, tap-json, etc.
@pat_nadolny @Matt Menzenski @edgar_ramirez_mondragon @aaronsteers what do you think guys?Matt Menzenski
03/27/2023, 6:15 PMedgar_ramirez_mondragon
03/27/2023, 6:28 PMIMO the cleanest way to keep the sources/formats zoo manageable is to separate file sources layer from file formats layer and keep extending each of them independently.I agree! The SDK feels like the right place for the transfer layer. File tap and stream helpers would only need to be implemented once.
Denis I.
03/31/2023, 3:10 PM