Question 141 · 219 in bank
In what order should the below lines of code be run in order to read a JSON file at the file path filePath into a DataFrame with the specified schema schema? Lines of code: 1. .json(filePath, schema = schema) 2. .storesDF 3. .spark \ 4. .read() \ 5. .read \ 6. .json(filePath, format = schema)
Show answer
Answer: C