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:
I have enjoyed working with pgsync so far, but I'm trying to do something very simple and I just can't get it to work how I'd expect it to. I'm hoping it's something very obvious... I've googled and looked at docs, but they all seem to assume this very simple example should just work.
I thought the mapping within the transform would make sure it knows to place it at the top level, but it isn't seeming to do that and is just creating an object with the fields nested within. All the data streaming from postgres is being saved to opensearch in the incorrect mapping. This wouldn't really be an issue since I could just use this new nested object, but I need to specify the mapping to be of type "keyword" and it doesn't handle that either. Any insight would be awesome!
Error Message (if any):
The text was updated successfully, but these errors were encountered:
PGSync version: 3.2.1
Postgres version: 16.4
Elasticsearch/OpenSearch version: 2.17.1
Redis version: 7
Python version: 3.11
Problem Description:
I have enjoyed working with pgsync so far, but I'm trying to do something very simple and I just can't get it to work how I'd expect it to. I'm hoping it's something very obvious... I've googled and looked at docs, but they all seem to assume this very simple example should just work.
Very simple example mapping:
The schema.json:
The mapping gets overwritten and the child data comes in like this to form this type of mapping:
I thought the mapping within the transform would make sure it knows to place it at the top level, but it isn't seeming to do that and is just creating an object with the fields nested within. All the data streaming from postgres is being saved to opensearch in the incorrect mapping. This wouldn't really be an issue since I could just use this new nested object, but I need to specify the mapping to be of type "keyword" and it doesn't handle that either. Any insight would be awesome!
Error Message (if any):
The text was updated successfully, but these errors were encountered: