bug: New BATCH
functionality fails if output folder is missing
#1014
Labels
BATCH
functionality fails if output folder is missing
#1014
Singer SDK Version
0.11.1
Python Version
3.10
Bug scope
Taps (catalog, state, stream maps, etc.)
Operating System
Linux
Description
Currently, if the folder specified as
storage.root
in batch_config does not exist, the tap will run and fail on writing the first batch. Preferably we could create this withPath.mkdir(parents=True, exists_ok=True)
but at a minimum we should check it exists before fetching records in order to 'fail fast'.Possible solutions:
Code
The text was updated successfully, but these errors were encountered: