yaooqinn commented on a change in pull request #28402:
URL: https://github.com/apache/spark/pull/28402#discussion_r417715668
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/StreamingJoinHelper.scala
##########
@@ -232,6 +232,7 @@ object StreamingJoinHelper extends PredicateHelper with
Logging {
collect(left, negate) ++ collect(right, !negate)
case TimeAdd(left, right, _) =>
collect(left, negate) ++ collect(right, negate)
+ case DatetimeSub(_, _, child) => collect(child, negate)
Review comment:
https://github.com/apache/spark/commit/beec8d535f093f1867678fe5afeb02453464f90d#diff-7c2a9f40678db8001b80d39a095dab31L235-L236
DatetimeSub is justing taking the place of `TimeAdd` here
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]