We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e413043 commit ae25004Copy full SHA for ae25004
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/ExpressionCodegen.scala
@@ -223,7 +223,7 @@ object ExpressionCodegen {
223
}
224
225
// If it is a nullable expression and `isNull` is not a literal.
226
- if (inputVar.nullable && ev.isNull != "true" && ev.isNull != "false") {
+ if (inputVar.nullable && !ev.isNull.isInstanceOf[LiteralValue]) {
227
params += ((ev.isNull, s"boolean ${ev.isNull}"))
228
229
0 commit comments