What do you want with the xxevent.fw_app_id field?
a) if not exist at all to replace with a field value for instance: [XDRevent][fw_app_id]
b) if not exist at all to replace with value: EMPTY
c) if exists but is zero string "", replace with value: EMPTY
d) if exists but is NULL, replace with value: EMPTY
e) other
The update mutation only works when the field exist
In your first snipped code you are saying if the field doesn't exist then do an update. But because the field doesn't exist, it won't do anything.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.