cloud-fan edited a comment on pull request #34055: URL: https://github.com/apache/spark/pull/34055#issuecomment-926010668
> case a EqualTo TrueLiteral if a.dataType.isInstanceOf[BooleanType] This is not necessary. The analyzer guarantees that the inputs of binary comparisons are of the same type, and optimizer will never hit an unresolved plan. We can just write `case a EqualTo TrueLiteral` -- 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]
