gaogaotiantian commented on code in PR #53314: URL: https://github.com/apache/spark/pull/53314#discussion_r2593927376
########## 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 Review Comment: Can we move this to the top of the test module? Is there a specific reason that you want it in the class definition? -- 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]
