dongjoon-hyun commented on PR #60785:
URL: https://github.com/apache/spark/pull/60785#issuecomment-7087229103

   Thank you for the reviews. The latest commit addresses the review bodies as 
follows.
   
   - A `FLOAT` or `DOUBLE` equality after a Python UDF extraction: 
`NormalizeFloatingNumbers` now normalizes a `FLOAT` or `DOUBLE` equality 
between the two sides that is not a key where it is written, so whichever later 
rule makes it a key, it is normalized. `JoinSuite` has the Python UDF case, and 
`NormalizeFloatingPointNumbersSuite` the plan.
   - Outer join elimination and join statistics: `ExtractAllEquiJoinKeys` takes 
every equality as a key, as `ExtractEquiJoinKeys` did, for 
`EliminateOuterJoin`, `DistinctKeyVisitor`, `SizeInBytesOnlyStatsPlanVisitor` 
and `JoinEstimation`. `OuterJoinEliminationSuite` has the case.
   - Collated string equalities: `CollationKey` declares `NoThrow`, so such an 
equality after a throwable conjunct is a key again. `ExtractEquiJoinKeysSuite` 
and `ExprUtilsSuite` cover it.
   - Stream-stream joins and the rollback conf: as viirya suggested, I added a 
line to the SQL migration guide, next to the 
`spark.sql.legacy.inferFailableFiltersFromConstraints` one, and no legacy conf. 
It names the nested loop join, the equality that dynamic partition pruning no 
longer uses, and the stream-stream join that cannot restart from a checkpoint 
of Spark 4.3 or earlier, or fails to start if it has no other key.
   - A Python UDF reading both sides in the throwable conjunct: the query fails 
on `master` too, as `ExtractPythonUDFFromJoinCondition` moves that conjunct 
above the join and leaves the cast equality in the join. I'll file a new JIRA 
issue.
   - The stream-stream error message: I kept it; the migration guide describes 
the case.
   - `ExtractRangeJoinKeys`: I'll file a new JIRA issue, as it is off by 
default.
   - `branch-4.4`: yes, I'll backport this to `branch-4.4` and `branch-4.x`.
   


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