Amar3tto commented on code in PR #40683:
URL: https://github.com/apache/beam/pull/40683#discussion_r4329670771


##########
sdks/python/apache_beam/io/gcp/experimental/spannerio_read_perf_test.py:
##########
@@ -133,7 +134,8 @@ def make_insert_mutations(element):
           | 'Produce rows' >> Read(
               SyntheticSource(self.parse_synthetic_source_options()))
           | 'Format' >> Map(format_record)
-          | 'Make mutations' >> FlatMap(make_insert_mutations)
+          | 'Make mutations' >> FlatMap(
+              make_insert_mutations).with_output_types(_Mutator)

Review Comment:
   I found a possible trigger: #40413, merged on October 8, switched Python 
load/performance tests from 3.10 to 3.11. This may have exposed the existing 
FlatMap type inference issue. I haven't confirmed it yet, but I didn't find any 
changes to the SpannerIO API or type checking itself.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to