When all 5 CSV files used in sampling are without any records, the catalog will be generated without properties field. It's the same behavior as old tap. We are using these properties in the new tap version for duplicate and no headers handling.
Solution:
Emit all records in sync mode for other files with duplicate and no header handling if the catalog is generated without properties.
If a catalog contains properties, records with only fields mentioned in the catalog will be provided as output.
Manual QA steps
Verified that if all 5 CSV files used in sampling are without records, all the records will be emitted with duplicates and no headers handling.
Description of change
TDL-14068:Fix key-error exception being thrown.
Solution:
Manual QA steps
Risks
Rollback steps