I would like to display the entire Apache Spark SQL DataFrame with the Scala API. I can use the show() method:
show()
myDataFrame.show(Int.MaxValue)
I've tried show() and it seems working sometimes. But sometimes not working, just give it a try:
println(df.show())