Relative Content

Tag Archive for scalaapache-sparkapache-spark-sql

How to get every DataFrame transformation preview without using show method

var df1 = spark.read.csv(“/path/test.csv”) var df2 = df1.select(“Name”,”phone”) var df3 = df2.sqlContext.sql(“select Name, phone where phone > 999”) for intermediate transformation data show I have to use the show but it will be heavy in case of thousand of step then whats the solution to see the intermediate df without show. scala apache-spark apache-spark-sql