Skip to content

Commit

Permalink
Fix isNullAt bug
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed Aug 19, 2014
1 parent abee26d commit 87d101d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ class JoinedRow extends Row {
def apply(i: Int) =
if (i < row1.size) row1(i) else row2(i - row1.size)

def isNullAt(i: Int) = apply(i) == null
def isNullAt(i: Int) =
if (i < row1.size) row1.isNullAt(i) else row2.isNullAt(i - row1.size)

def getInt(i: Int): Int =
if (i < row1.size) row1.getInt(i) else row2.getInt(i - row1.size)
Expand Down

0 comments on commit 87d101d

Please sign in to comment.