QuestionQ205

VerifiedDebugging and Deploying

Review this error traceback:

Question Image

Which statement explains the error that is raised?

Explanation

Python evaluates 3 * "heartrate" as the string "heartrateheartrateheartrate". PySpark attempts to select a column with that exact name, but the table contains heartrate rather than heartrateheartrateheartrate; consequently, Spark raises an unresolved-column analysis exception.

Community Discussion

No comments yet. Be the first to start the discussion!