I am trying to read data all the json files from one directory and storing it in Spark Dataframe using the code below. (it works fine)
spark = SparkSession.bu