pabloem commented on a change in pull request #12916:
URL: https://github.com/apache/beam/pull/12916#discussion_r499020846
##########
File path: sdks/python/apache_beam/examples/snippets/snippets.py
##########
@@ -1179,6 +1179,19 @@ def model_bigqueryio(p, write_project='',
write_dataset='', write_table=''):
write_disposition=beam.io.BigQueryDisposition.WRITE_TRUNCATE,
create_disposition=beam.io.BigQueryDisposition.CREATE_IF_NEEDED)
# [END model_bigqueryio_write]
+
+ # [START model_bigqueryio_write_dynamic_input]
+ table_names = (p | beam.Create([
+ ('error', 'my_project.dataset1.error_table_for_today'),
+ ('user_log', 'my_project.dataset1.query_table_for_today'),
+ ])
Review comment:
it seems that you're missing an extra parenthesis here @rincon-santi .
Could you add it please?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]