dongjoon-hyun commented on PR #60695:
URL: https://github.com/apache/spark/pull/60695#issuecomment-7000494395
Thank you for the review. For the items in the summary:
- **Streaming restarts from pre-4.3 checkpoints**: Confirmed with a
stream-static left outer join followed by `unpivot` and
`groupBy("value").count()`. Its checkpoint written by Apache Spark 4.2.1
restarts on Apache Spark 4.3.0 with the wrong `-1` key, and fails to restart
with `STATE_STORE_KEY_SCHEMA_NOT_COMPATIBLE` with this PR. Its checkpoint
written by Apache Spark 4.3.0 restarts with this PR and puts the new `NULL`
value under a separate `NULL` key. I added an entry next to the SPARK-61935 one
in the 4.3-to-4.4 section of the Structured Streaming migration guide, and
updated the PR description.
- **Grouping sets**: With the default configuration, your query fails with
`Column b#... are ambiguous` both on master and with this PR. With
`spark.sql.analyzer.failAmbiguousSelfJoin=false`, it returns `-1` or `0` on
master and `NULL` with this PR, as you said. I mentioned it in the PR
description and the migration guide entry. Since it goes through the same
`Expand` case that the `unpivot` test covers, I didn't add another test.
--
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]