Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scala> res17(0).toInt
- <console>:30: error: value toInt is not a member of org.apache.spark.sql.Row
- res17(0).toInt
- ^
- scala> res17(0)
- res28: org.apache.spark.sql.Row = [1,0]
- scala> res17(0).toArray
- <console>:30: error: value toArray is not a member of org.apache.spark.sql.Row
- res17(0).toArray
- ^
- scala> res17
- res30: Array[org.apache.spark.sql.Row] = Array([1,0])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement