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 abee26d commit 87d101dCopy full SHA for 87d101d
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Projection.scala
@@ -110,7 +110,8 @@ class JoinedRow extends Row {
110
def apply(i: Int) =
111
if (i < row1.size) row1(i) else row2(i - row1.size)
112
113
- def isNullAt(i: Int) = apply(i) == null
+ def isNullAt(i: Int) =
114
+ if (i < row1.size) row1.isNullAt(i) else row2.isNullAt(i - row1.size)
115
116
def getInt(i: Int): Int =
117
if (i < row1.size) row1.getInt(i) else row2.getInt(i - row1.size)
0 commit comments