SyntaxFix
Write A Post
Hire A Developer
Questions
This is how I achieved the same in Scala. I am not sure if it is more efficient than the valid answer, but it requires less coding
val parquetFileDF = sqlContext.read.parquet("myParquetFule.parquet") val myRow7th = parquetFileDF.rdd.take(7).last