This PR adds logic to support Bytes in BigQuery table schema. Storage Api support ByteString for a bytes type. (You may find the related google support ticket in below mentioned JIRA ticket)
This PR contains additional logic to covert map to JSONObject as new JSONObject(map) does not support complex types.
ByteString was getting converted to {empty: false} JSONObject due to JSOnObject's internal implementation.
After making these changes, records following below schema has been tested with both old and new API.
This PR adds logic to support Bytes in BigQuery table schema. Storage Api support ByteString for a bytes type. (You may find the related google support ticket in below mentioned JIRA ticket)
This PR contains additional logic to covert map to JSONObject as new JSONObject(map) does not support complex types. ByteString was getting converted to {empty: false} JSONObject due to JSOnObject's internal implementation.
After making these changes, records following below schema has been tested with both old and new API.
JIRA: CC-20287 EPIC: CC-19644