You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by yh...@apache.org on 2024/10/02 23:23:20 UTC
(beam) branch master updated: Update direct_runner.py (#32325)
This is an automated email from the ASF dual-hosted git repository.
yhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 9095547bcd3 Update direct_runner.py (#32325)
9095547bcd3 is described below
commit 9095547bcd3c12558d6ca622d8fe424183b292a2
Author: liferoad <hu...@gmail.com>
AuthorDate: Wed Oct 2 19:23:13 2024 -0400
Update direct_runner.py (#32325)
* Update direct_runner.py
Improve the error message for DirectRunner.
* Update direct_runner.py
---
sdks/python/apache_beam/runners/direct/direct_runner.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sdks/python/apache_beam/runners/direct/direct_runner.py b/sdks/python/apache_beam/runners/direct/direct_runner.py
index 1cd20550edf..49b6622816c 100644
--- a/sdks/python/apache_beam/runners/direct/direct_runner.py
+++ b/sdks/python/apache_beam/runners/direct/direct_runner.py
@@ -516,7 +516,9 @@ class BundleBasedDirectRunner(PipelineRunner):
if isinstance(applied_ptransform.transform, ExternalTransform):
raise RuntimeError(
"Streaming Python direct runner "
- "does not support cross-language pipelines.")
+ "does not support cross-language pipelines."
+ "Please use other runners such as FlinkRunner, "
+ "DataflowRunner, or PrismRunner.")
pipeline.visit(VerifyNoCrossLanguageTransforms())