derrickaw commented on code in PR #35914:
URL: https://github.com/apache/beam/pull/35914#discussion_r2292592257


##########
sdks/python/apache_beam/yaml/examples/testing/input_data.py:
##########
@@ -33,6 +33,36 @@ def text_data():
   ])
 
 
+def word_count_jinja_parameter_data():
+  return \
+    '{"readFromTextTransform": {"path": ' \
+    '"gs://dataflow-samples/shakespeare/kinglear.txt"}, ' \
+    '"mapToFieldsSplitConfig": {"language": "python", ' \
+    '"fields":{"value":"1"}}, ' \
+    '"explodeTransform":{"fields":"word"}, ' \
+    '"combineTransform":{"group_by":"word", "combine":{"value":"sum"}}, ' \
+    '"mapToFieldsCountConfig":{"language": "python", "fields":' \
+    '{"output": "word + \\" - \\" + str(value)"}}, ' \
+    '"writeToTextTransform":' \
+    '{"path":"gs://apache-beam-testing-derrickaw/wordCounts/"}}'

Review Comment:
   ok, thats reasonable



-- 
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: github-unsubscr...@beam.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to