claudevdm commented on code in PR #41060:
URL: https://github.com/apache/beam/pull/41060#discussion_r4564169886
##########
sdks/python/apache_beam/io/gcp/bigquery_tools.py:
##########
@@ -1562,9 +1570,15 @@ def insert_rows(
str(self.unique_row_id) if not insert_ids else insert_ids[i]
for i, _ in enumerate(rows)
]
+ _json_safe = (str, bool, type(None))
rows = [
- fast_json_loads(fast_json_dumps(r, default=default_encoder))
- for r in rows
+ r if (
Review Comment:
Yeah I think this one is less clear. Lets exclude it, the rest LGTM. Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]