bogao007 commented on code in PR #53314: URL: https://github.com/apache/spark/pull/53314#discussion_r2587023915
########## python/pyspark/sql/tests/pandas/helper/helper_pandas_transform_with_state.py: ########## @@ -1663,10 +1663,17 @@ def close(self) -> None: # A stateful processor that contains composite python type inside Value, List and Map state variable class PandasStatefulProcessorCompositeType(StatefulProcessor): + + from typing import NamedTuple + class Address(NamedTuple): + road_id: int + block_id: int Review Comment: For the test `Address` class, can we use different types? E.g. one with `int` type and the other one with `string` type -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
