in Spark Sql by (23.9k points)
What are the Row objects in Spark?

1 Answer

0 votes
by (32.2k points)

Row objects are nothing but the records that are presented inside SchemaRDDs and they can be treated as the fixed-length arrays. Row objects have several getter functions to obtain each index field value. A standard getter returns an object type by taking the column number. There is a getType() method for boolean, Double, Int, Short, Long, Byte, String, and Float.

Related questions

0 votes
0 votes
0 votes
asked Mar 14, 2020 in Spark Sql by rajeshsharma (23.9k points)
...