cuddly-jelly-27016
10/09/2024, 1:22 PMflytekitplugins.spark.new_session(...)
, the pyspark.sql.DataFrame
SD transformer's decoder breaks. The reason for this is due to it referencing user_ctx.spark_session
that was set during the Spark tasks' pre_execute
method call.
Expected behavior
The pyspark.sql.DaraFrame
SD transformer should use whichever spark session is active, and should be decoupled from the flyte context.
Additional context to reproduce
No response
Screenshots
No response
Are you sure this issue hasn't been raised already?
• Yes
Have you read the Code of Conduct?
• Yes
flyteorg/flytecuddly-jelly-27016
10/09/2024, 1:22 PM