
from_json function expects an argument with col type but the reference link in the same exercise suggests data frame method. Here is the link to the suggestion in the exercise.
https://sparkbyexamples.com/pyspark/pyspark-json-functions-with-examples/
Participants end up implementing the solutions as per suggestion link and test case fails too. So either the suggested document should change or the tests should become more inclusive. Brought to notice by Sultan Ahmad - Dec 2023 Tour