Adnan Shoeb
06/10/2024, 3:04 AMvisch
06/10/2024, 11:37 AMGustavo Silva
06/10/2024, 12:20 PMReuben (Matatika)
06/10/2024, 3:59 PMbpchar
, but that may have been a red herring https://meltano.slack.com/archives/C06A1MD6A6L/p1717605228789809Gustavo Silva
06/10/2024, 4:15 PMReuben (Matatika)
06/10/2024, 4:56 PMGustavo Silva
06/10/2024, 10:23 PMjan_soubusta
07/14/2024, 11:52 AMsinger_sdk.exceptions.InvalidRecord: Record Message Validation Error: '[]' is not of type 'number', 'null'
with target-snowflake.
It started to happen while I was on vacation - no changes to the code base.
I tried to upgrade target-snowflake to newest meltanolabs version, did not help.
It's happening only when tapping data with tap-jira - other taps work OK.jan_soubusta
07/14/2024, 12:29 PMjan_soubusta
07/14/2024, 12:30 PM2024-07-14T12:24:26.517418Z [info ] Traceback (most recent call last): cmd_type=elb consumer=True name=target-postgres producer=False stdio=stderr string_id=target-postgres
2024-07-14T12:24:26.517611Z [info ] File "/home/jacek/work/src/gooddata-data-pipeline/data_pipeline/.meltano/loaders/target-postgres/venv/lib/python3.11/site-packages/singer_sdk/sinks/core.py", line 121, in validate cmd_type=elb consumer=True name=target-postgres producer=False stdio=stderr string_id=target-postgres
2024-07-14T12:24:26.517767Z [info ] self.validator.validate(record) cmd_type=elb consumer=True name=target-postgres producer=False stdio=stderr string_id=target-postgres
2024-07-14T12:24:26.517917Z [info ] File "/home/jacek/work/src/gooddata-data-pipeline/data_pipeline/.meltano/loaders/target-postgres/venv/lib/python3.11/site-packages/jsonschema/validators.py", line 451, in validate cmd_type=elb consumer=True name=target-postgres producer=False stdio=stderr string_id=target-postgres
2024-07-14T12:24:26.518068Z [info ] raise error cmd_type=elb consumer=True name=target-postgres producer=False stdio=stderr string_id=target-postgres
2024-07-14T12:24:26.518267Z [info ] jsonschema.exceptions.ValidationError: '[]' is not of type 'number', 'null' cmd_type=elb consumer=True name=target-postgres producer=False stdio=stderr string_id=target-postgres
2024-07-14T12:24:26.518425Z [info ] cmd_type=elb consumer=True name=target-postgres producer=False stdio=stderr string_id=target-postgres
2024-07-14T12:24:26.518574Z [info ] Failed validating 'type' in schema['properties']['fields__customfield_10002']: cmd_type=elb consumer=True name=target-postgres producer=False stdio=stderr string_id=target-postgres
2024-07-14T12:24:26.518716Z [info ] {'type': ['number', 'null']} cmd_type=elb consumer=True name=target-postgres producer=False stdio=stderr string_id=target-postgres
2024-07-14T12:24:26.518848Z [info ] cmd_type=elb consumer=True name=target-postgres producer=False stdio=stderr string_id=target-postgres
2024-07-14T12:24:26.518973Z [info ] On instance['fields__customfield_10002']: cmd_type=elb consumer=True name=target-postgres producer=False stdio=stderr string_id=target-postgres
2024-07-14T12:24:26.519135Z [info ] '[]' cmd_type=elb consumer=True name=target-postgres producer=False stdio=stderr string_id=target-postgres
2024-07-14T12:24:26.519296Z [info ] cmd_type=elb consumer=True name=target-postgres producer=False stdio=stderr string_id=target-postgres
2024-07-14T12:24:26.519424Z [info ] The above exception was the direct cause of the following exception: cmd_type=elb consumer=True name=target-postgres producer=False stdio=stderr string_id=target-postgres
jan_soubusta
07/14/2024, 12:30 PMjan_soubusta
07/14/2024, 1:40 PMselect:
- issues.fields__aggregateprogress
# OR
select:
- issues.fields.aggregateprogress
Does not work, the target table contains only ID column (PK).
Any help would be more than welcome 😉visch
07/15/2024, 5:53 PMfields__customfield_10002
should have list as a type from jira?jan_soubusta
07/15/2024, 5:56 PMvisch
07/15/2024, 5:57 PMjan_soubusta
07/15/2024, 5:58 PMvisch
07/15/2024, 5:58 PM!*.*fields__customfield_10002
but I'm not sure how jira structures stuffjan_soubusta
07/15/2024, 5:58 PMvisch
07/15/2024, 5:59 PM!*.fields__customfield_10002
if you look at select list it should show you what it's listed as 🤞