kevin
09/14/2022, 4:23 PM2022-09-14T16:21:06.172983Z [info ] CRITICAL None is not of type 'string' cmd_type=loader job_id=baton-to-snowflake name=target-snowflake run_id=f9931695-689e-46a3-aeab-5da042eb1146 stdio=stderr
2022-09-14T16:21:06.173162Z [info ] CRITICAL cmd_type=loader job_id=baton-to-snowflake name=target-snowflake run_id=f9931695-689e-46a3-aeab-5da042eb1146 stdio=stderr
2022-09-14T16:21:06.173312Z [info ] CRITICAL Failed validating 'type' in schema['properties']['created_by']: cmd_type=loader job_id=baton-to-snowflake name=target-snowflake run_id=f9931695-689e-46a3-aeab-5da042eb1146 stdio=stderr
2022-09-14T16:21:06.173496Z [info ] CRITICAL {'type': 'string'} cmd_type=loader job_id=baton-to-snowflake name=target-snowflake run_id=f9931695-689e-46a3-aeab-5da042eb1146 stdio=stderr
2022-09-14T16:21:06.173644Z [info ] CRITICAL cmd_type=loader job_id=baton-to-snowflake name=target-snowflake run_id=f9931695-689e-46a3-aeab-5da042eb1146 stdio=stderr
2022-09-14T16:21:06.173783Z [info ] CRITICAL On instance['created_by']: cmd_type=loader job_id=baton-to-snowflake name=target-snowflake run_id=f9931695-689e-46a3-aeab-5da042eb1146 stdio=stderr
2022-09-14T16:21:06.173920Z [info ] CRITICAL None cmd_type=loader job_id=baton-to-snowflake name=target-snowflake run_id=f9931695-689e-46a3-aeab-5da042eb1146 stdio=stderr
looks like its validating a data type. Is this an issue that needs to be resolved by the code of the tap? or is there something we can do in meltano that can override thisedgar_ramirez_mondragon
09/14/2022, 6:11 PMcreated_by
. It’s not clear which of the streams is having this problem, but seems to be one of project_attachments
, time_entries
but you can use the schema
extra for both:
extractors:
- name: tap-hellobaton
schema:
project_attachments:
created_by:
type: ["string", "null"]
time_entries:
created_by:
type: ["string", "null"]
kevin
09/14/2022, 6:16 PMmeltano.yml
file ?edgar_ramirez_mondragon
09/14/2022, 6:17 PMkevin
09/14/2022, 6:18 PMkevin
09/14/2022, 6:40 PM2022-09-14T18:39:52.981838Z [info ] CRITICAL Failed validating 'type' in schema['properties']['user']: cmd_type=loader job_id=baton-to-snowflake name=target-snowflake run_id=cf33e0b3-98bb-4fe3-8da9-3205f6cbf6f2 stdio=stderr
would i just add in the user field ?
plugins:
extractors:
- name: tap-hellobaton
schema:
project_attachments:
created_by:
type: ["string", "null"]
time_entries:
created_by:
type: ["string", "null"]
extractors:
- name: tap-hellobaton
schema:
project_attachments:
created_by:
type: ["string", "null"]
time_entries:
created_by:
type: ["string", "null"]
project_users:
user:
type: ["string", "null"]
time_entries:
user:
type: ["string", "null"]
kevin
09/14/2022, 7:25 PMedgar_ramirez_mondragon
09/14/2022, 7:30 PMtime_entries.users
?kevin
09/14/2022, 7:30 PMkevin
12/14/2022, 5:33 PM"rate": {
"type": ["object", "null"],
"properties": {
"id": {
"type": "integer"
},
"hourly_rate": {
"type": "string"
}
}
},
would the part of the meltano.yml look like:
schema:
time_entries:
rate:
id:
type: [integer, 'null']
hourly_rate:
type: [string, 'null']
I think im messing up the yml part.edgar_ramirez_mondragon
12/14/2022, 6:05 PMproperties
key inside rate