Skip to content

Commit

Permalink
taken
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 committed Dec 6, 2023
1 parent 819e35f commit 5358762
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@ abstract class SparkOperation(session: Session)
RowSet.emptyTRowSet()
}
} else {
val taken = iter.take(rowSetSize)
val taken = iter.take(rowSetSize).toIndexedSeq.asInstanceOf[Seq[Row]]
RowSet.toTRowSet(
taken.toIndexedSeq.asInstanceOf[Seq[Row]],
taken,
resultSchema,
getProtocolVersion)
}
Expand Down

0 comments on commit 5358762

Please sign in to comment.