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
Problem Description
Below is the schema of a boolean field (in Kafka Topic)
{
"default": true,
"field": "is_active",
"optional": false,
"type": "boolean"
}
Set the auto.create to true in the sink connector configurations.
The sink connector fails to auto create the table with the below error message:
ERROR: column "is_active" is of type boolean but default expression is of type integer
This is because the sink connector, in it's DDL, has the default value as 1 for the boolean column, instead of true.
Please let me know if there is any workaround for this issue.
The text was updated successfully, but these errors were encountered:
Could you confirm if this is still an issue? If it is, could you provide further detail on the postgres version? As far as I can see, boolean types support '1'/'0' as values: https://www.postgresql.org/docs/current/datatype-boolean.html as defined here:
Problem Description
Below is the schema of a boolean field (in Kafka Topic)
{
"default": true,
"field": "is_active",
"optional": false,
"type": "boolean"
}
Set the auto.create to true in the sink connector configurations.
The sink connector fails to auto create the table with the below error message:
ERROR: column "is_active" is of type boolean but default expression is of type integer
This is because the sink connector, in it's DDL, has the default value as 1 for the boolean column, instead of true.
Please let me know if there is any workaround for this issue.
The text was updated successfully, but these errors were encountered: