pgsync icon indicating copy to clipboard operation
pgsync copied to clipboard

Rename transform of a child table column

Open eichmann opened this issue 3 years ago • 1 comments

PGSync version: 2.2.1

Postgres version: 14.1

Elasticsearch version:

Redis version:

Python version:

Problem Description:

Just upgraded from 2.1.8 to 2.2.1. I have a schema with an article table and an article_title child table with a column article_title. In 2.1.8 specifying a rename transform of "article_title_article_title" : "label" successfully generated label as a top level field. This quietly does nothing in 2.2.1. Has the handling of child table renames changed in some way?

Error Message (if any):



eichmann avatar Mar 25 '22 16:03 eichmann

This has not changed. I just tried the rename with child nodes and it worked as expected. Could this be because you made a change to a schema with an existing Elasticsearch index? Does this work when you delete and re-create the index?

toluaina avatar Mar 30 '22 20:03 toluaina