robertwb commented on a change in pull request #14170:
URL: https://github.com/apache/beam/pull/14170#discussion_r590583414
##########
File path: sdks/python/apache_beam/dataframe/convert_test.py
##########
@@ -92,6 +92,11 @@ def test_convert_scalar(self):
pc_sum = convert.to_pcollection(s.sum())
assert_that(pc_sum, equal_to([6]))
+ def test_convert_non_deferred(self):
+ with beam.Pipeline() as p:
+ pc_sum = convert.to_pcollection(pd.Series([1, 2, 3]), pipeline=p)
+ assert_that(pc_sum, equal_to([1, 2, 3]))
+
Review comment:
Done.
----------------------------------------------------------------
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]