Abacn commented on code in PR #31404:
URL: https://github.com/apache/beam/pull/31404#discussion_r1614114675
##########
sdks/python/apache_beam/io/gcp/bigquery.py:
##########
@@ -1186,11 +1186,19 @@ def split(self, desired_bundle_size,
start_position=None, stop_position=None):
parent=parent,
read_session=requested_session,
max_stream_count=stream_count)
+ if self.use_native_datetime:
+ display_schema = "Arrow Schema:" + str(read_session.arrow_schema)
+ else:
+ display_schema = "Avro Schema:" + str(read_session.avro_schema)
_LOGGER.info(
Review Comment:
this is to make this log readable. Before it was printing raw proto message
truncated on streams URLs. Now it only prints the number of streams returned
and the key fields.
--
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]