spark-test commented on PR #60664:
URL: https://github.com/apache/spark/pull/60664#issuecomment-7038357929

   Thanks for the update. I checked 778775ea5f1: on the whole-input path, 
including the legacy mode and the cast-bounded fallback, a cutoff solved for 
another column now keeps master's minimum, and the state format 4 previous 
bound and the state watermark take the same answer. Two points still fall 
short. The fallback for inexact cutoffs recognizes only casts to an integral 
type, so a cast that rounds or loses precision, such as to DECIMAL(10,0) or 
FLOAT, still drops the cap. And the SPARK-62001 guard checks only Append mode 
and only logs a warning for a query restarted from a checkpoint written before 
this change, so it does not stop a stateful operator after an input the rule 
leaves without a cutoff from dropping rows in Update mode or after such a 
restart. This review raises both as findings.
   
   <!-- SPARK_DEV_REVIEW_REPLY 
{"feedback_id":"conversation:7035636180","thread_id":"conversation:7035636180","verdict_sha256":"4dcabd6c2a6e2c4863cade8f2db0595976b41581a4d1a1acf71d24acbadd6d7d"}
 -->


-- 
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]

Reply via email to