Buat tabel pyspark sql

df.createOrReplaceTempView("tableA")
spark.sql("SELECT count(*) from tableA").show()
Sore Stork