This is an automated email from the ASF dual-hosted git repository.
ruifengz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 15c68493b369 [SPARK-55285][SQL][PYTHON][FOLLOW-UP] Code clean up
15c68493b369 is described below
commit 15c68493b3690e206f5f5406afb4ad3ce2104b4d
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Mon Feb 2 22:03:15 2026 +0800
[SPARK-55285][SQL][PYTHON][FOLLOW-UP] Code clean up
### What changes were proposed in this pull request?
follow up of https://github.com/apache/spark/pull/54068, we don't need the
`_schema` trick now
### Why are the changes needed?
to make the field names consistent with others
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
ci
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #54088 from zhengruifeng/follow_up_init.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
---
.../python/streaming/TransformWithStateInPySparkPythonRunner.scala | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/sql/core/src/main/scala/org/apache/spark/sql/execution/python/streaming/TransformWithStateInPySparkPythonRunner.scala
b/sql/core/src/main/scala/org/apache/spark/sql/execution/python/streaming/TransformWithStateInPySparkPythonRunner.scala
index e6c990ab1c89..4f3b6c0b951d 100644
---
a/sql/core/src/main/scala/org/apache/spark/sql/execution/python/streaming/TransformWithStateInPySparkPythonRunner.scala
+++
b/sql/core/src/main/scala/org/apache/spark/sql/execution/python/streaming/TransformWithStateInPySparkPythonRunner.scala
@@ -49,9 +49,9 @@ class TransformWithStateInPySparkPythonRunner(
funcs: Seq[(ChainedPythonFunctions, Long)],
evalType: Int,
argOffsets: Array[Array[Int]],
- _schema: StructType,
+ schema: StructType,
processorHandle: StatefulProcessorHandleImpl,
- _timeZoneId: String,
+ timeZoneId: String,
initialRunnerConf: Map[String, String],
override val pythonMetrics: Map[String, SQLMetric],
jobArtifactUUID: Option[String],
@@ -59,7 +59,7 @@ class TransformWithStateInPySparkPythonRunner(
batchTimestampMs: Option[Long],
eventTimeWatermarkForEviction: Option[Long])
extends TransformWithStateInPySparkPythonBaseRunner[InType](
- funcs, evalType, argOffsets, _schema, processorHandle, _timeZoneId,
+ funcs, evalType, argOffsets, schema, processorHandle, timeZoneId,
initialRunnerConf, pythonMetrics, jobArtifactUUID, groupingKeySchema,
batchTimestampMs, eventTimeWatermarkForEviction)
with PythonArrowInput[InType] {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]