QuestionQ95
VerifiedDeveloping Apache Spark™ DataFrame/DataSet API ApplicationsIn which order should the following lines of code be executed to read a JSON file at the file path filePath into a DataFrame using the specified schema schema?
Lines of code:
.json(filePath, schema = schema).storesDF.spark \.read() \.read \.json(filePath, format = schema)
Community Discussion