I'm looking to combine documents into an array for json. I'm also looking to pull in a default value for an element in the json (outside the array), but it does not pull in that value. See example:
Map that sets default value (for name):
Combine documents combines name_localized field into arrayelement:
After testing, this causes error:
Further examination shows default value does not carry over to JSON shape source data:
1. Why doesn't the default value set in the map shape carry over as an element in the JSON?
2. Why is there still 80 elements in the shape source data? Shouldn't there only be 1?
Any help appreciated.