rdb publish: skip the empty EqC fields when uploading to BQ
Instead of uploading empty values, we should just skip them from the BQ
uploading. In this way, the BQ fields will remain NULL instead of "" for
the string fields or {} for the JSON fields.
Bug: b:395760082, b:379801095
Test: Unit tests and LED
Change-Id: I7e92a0827a5c48a72510149e845a68892cd2677d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/6275236
Tested-by: Allen Xie <zhihuixie@google.com>
Commit-Queue: Allen Xie <zhihuixie@google.com>
Reviewed-by: Jason Kusuma <jkusuma@google.com>
Reviewed-by: Tom Handakas <thandakas@chromium.org>
2 files changed