Michal Ondras
03/26/2024, 5:05 PMMichal Ondras
03/26/2024, 6:51 PMEdgar Ramírez (Arch.dev)
03/26/2024, 10:16 PMwhen it makes it's way to snowflakewhich target-snowflake variant is this?
it's reported as varchar booleanI'm not sure if this is a typo 😅. Do you mean it's reported as varchar instead of variant?
Michal Ondras
03/26/2024, 10:36 PMEdgar Ramírez (Arch.dev)
03/26/2024, 11:15 PMwhat i mean by varchar boolean. is it's true::textdo you see that in target-postgres too? (looking to confirm before jumping into trying to reproduce the issue)
Michal Ondras
03/26/2024, 11:57 PMMichal Ondras
03/27/2024, 12:00 AMschema
public-test_users:
service_settings:
type:
- object
but they fails is it sees a nullEdgar Ramírez (Arch.dev)
03/27/2024, 12:01 AMEdgar Ramírez (Arch.dev)
03/27/2024, 12:03 AMMichal Ondras
03/27/2024, 12:05 AMMichal Ondras
03/27/2024, 12:06 AMEdgar Ramírez (Arch.dev)
03/27/2024, 12:10 AMschema
public-test_users:
service_settings:
type: [object, null]
Michal Ondras
03/27/2024, 1:02 AMEdgar Ramírez (Arch.dev)
03/27/2024, 1:30 AMservice_settings
column?Edgar Ramírez (Arch.dev)
03/27/2024, 1:35 AMMichal Ondras
03/27/2024, 1:38 AMMichal Ondras
03/27/2024, 1:39 AMsinger_sdk.exceptions.InvalidRecord: Record Message Validation Error: None is not of type 'object'", "level": "info", "timestamp": "2024-03-27T01:33:11.002278Z"}
Edgar Ramírez (Arch.dev)
03/27/2024, 1:41 AMschema
public-test_users:
service_settings:
type: [object, "null"]
Edgar Ramírez (Arch.dev)
03/27/2024, 1:42 AMnull
)Michal Ondras
03/27/2024, 1:43 AMMichal Ondras
03/27/2024, 1:57 AMEdgar Ramírez (Arch.dev)
03/27/2024, 2:20 AMwhy does it like the "null" and not null?the latter gets deserialized as
{"type": ["object", None]}
, but we want {"type": ["object", "null"]}
(https://json-schema.org/understanding-json-schema/reference/null)visch
03/27/2024, 1:59 PM