streaming api upsert for json fields send bad request response
When I set this field for the existing record as {} (empty object), then the update happens no problem. But if the json field got data in it, then I get a bad request response. Sounds like a bug? Hopefully, not a limitation of the api.
Sample data:
In term of update, I can change the numbers, or remove entries entirely, or remove nested attributes.
So the data above can become like the below where I removed the CA market entirely and kept until two locations within the BR market.
The reason I am using a json field is that otherwise I would end up with hundreds of thousands of documents in the table for a single collection (fashion world). And I will have multiple collections for multiple clients. So the json field seems appropriate especially it is easier to update a single field for a few thousands rows than hundred k rows each time an update happen. And it works well with the way I display the data in the UI.
