-
-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename transform fails on JSONB column #212
Comments
Can you please post the rename transform? |
I've simplified the schema JSON to this, and the same problem occurs - unless I remove the [{
"database": "db",
"index": "groups",
"nodes": {
"table": "groups",
"schema": "public",
"columns": [
"id",
"name",
"group_tags",
],
"transform": {
"rename": {
"id": "groupId",
"name": "displayName",
"group_tags": "tags"
}
}
}
}] And the table is like this - though it admittedly does have more columns than this, I don't think it should matter:
|
toluaina
added a commit
that referenced
this issue
Dec 14, 2021
Thanks. This should be fixed now. Can you try using the master branch. |
bradnewman
pushed a commit
to bradnewman/pgsync
that referenced
this issue
Dec 16, 2021
I've verified #212 resolves this issue - thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PGSync version: 2.1.7
Postgres version: 13.0
Elasticsearch version: opensearch:1.1.0
Redis version: 6.2.1
Python version: 3.9.7
Problem Description: When trying to add a
rename
transform for a JSONB column, PGSync raises an exception. Rename transforms on other columns work as expected, and the JSONB column is sync'd as expected if norename
transform is specified for it.Error Message (if any):
The text was updated successfully, but these errors were encountered: