You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using Meltano tap-mssql to extract data from a database and target-snowflake to ingest data to Snowflake. After a deploy yesterday, we started facing an issue we have a hard time understanding. Therefore we want to reach out here to see if there is a bug or if anyone have suggestions to solving this. We are using our own version of the plugin, built on target-snowflake with a few changes, but no changes related to validation of schema.
The issue occurs during execution of target-snowflake and this is the error-message:
File "/install/opt/prefect/meltano/pogo/.meltano/loaders/target-snowflake/venv/lib/python3.11/site-packages/singer_sdk/sinks/core.py", line 317, in _validate_and_parse
self._validator.validate(record)
File "/install/opt/prefect/meltano/pogo/.meltano/loaders/target-snowflake/venv/lib/python3.11/site-packages/jsonschema/validators.py", line 438, in validate
raise error
jsonschema.exceptions.ValidationError: '2024-03-01T00:00:00' is not a 'date-time'
Failed validating 'format' in schema['properties']['POSTINGDATE']:
{
'additionalProperties': {'sql_data_type': 'datetimeoffset'},
format': 'date-time',
inclusion': 'available',
type': ['null', 'string']
}
On instance['POSTINGDATE']:
2024-03-01T00:00:00'
This is how the value of POSTINGDATE looks like in the record (other columns are removed):
We are using Meltano tap-mssql to extract data from a database and target-snowflake to ingest data to Snowflake. After a deploy yesterday, we started facing an issue we have a hard time understanding. Therefore we want to reach out here to see if there is a bug or if anyone have suggestions to solving this. We are using our own version of the plugin, built on target-snowflake with a few changes, but no changes related to validation of schema.
The issue:
tap-mssql generates this schema:
One of the columns that fails is this:
The issue occurs during execution of target-snowflake and this is the error-message:
This is how the value of POSTINGDATE looks like in the record (other columns are removed):
Anyone have an idea to why we are getting this error?
The text was updated successfully, but these errors were encountered: