[ 
https://issues.apache.org/jira/browse/BEAM-9787?focusedWorklogId=425493&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-425493
 ]

ASF GitHub Bot logged work on BEAM-9787:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Apr/20 23:40
            Start Date: 20/Apr/20 23:40
    Worklog Time Spent: 10m 
      Work Description: pabloem commented on a change in pull request #11466:
URL: https://github.com/apache/beam/pull/11466#discussion_r411765107



##########
File path: sdks/python/apache_beam/runners/dataflow/dataflow_runner.py
##########
@@ -1182,6 +1188,11 @@ def run_Read(self, transform_node, options):
         raise ValueError(
             'BigQuery source is not currently available for use '
             'in streaming pipelines.')
+      debug_options = options.view_as(DebugOptions)
+      use_fn_api = (debug_options.experiments and
+                    'beam_fn_api' in debug_options.experiments)
+      if use_fn_api:

Review comment:
       Yes Harsh, this will stop the pipeline from being submitted, and fail 
the command. The unit test also goes through this flow (trying to submit to 
Dataflow, and having the pipeline throw an error, and not be submitted).




----------------------------------------------------------------
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]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 425493)
    Time Spent: 2.5h  (was: 2h 20m)

> Send clear error to users trying to use BigQuerySource on FnApi pipelines on 
> Python SDK
> ---------------------------------------------------------------------------------------
>
>                 Key: BEAM-9787
>                 URL: https://issues.apache.org/jira/browse/BEAM-9787
>             Project: Beam
>          Issue Type: Bug
>          Components: io-py-gcp
>            Reporter: Pablo Estrada
>            Assignee: Pablo Estrada
>            Priority: Major
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to