singer-io / tap-s3-csv

GNU Affero General Public License v3.0
27 stars 52 forks source link

Add Missing Type Information in JSON Schema #62

Closed sgandhi1311 closed 9 months ago

sgandhi1311 commented 9 months ago

Description of change

The type of the elements within the array is missing, which in result generates the invalid schema. This potentially leads to errors during the data loading process. One of the connections encounters the below error while loading the output in the target -

2024-02-01 20:59:35,436Z   main - ERROR Target exited abnormally with status 1. Terminating tap.
2024-02-01 20:59:35,439Z   main - INFO No tunnel subprocess to tear down
2024-02-01 20:59:35,439Z   main - INFO Exit status is: Discovery succeeded. Tap succeeded. Target failed with code 1 and error message: "Error persisting data to Stitch: 400: {'error': 'Invalid JSON schema: key null: expected type is one of JSONObject, found: String'}".

Manual QA steps

Risks

Rollback steps