Skip to content
Advertisement

using a sql request in spark sql error in execution

I try to execute this query in pyspark i get all the time error. I have looked everywhere but I don’t know or it doesn’t work if someone can help me. the goal of this request is to update a new column that I will later create called temp_ok : this my code:

My table contains this columns: _temp_ok_calculer,Operator level 2, Auto Cleaning criteria, Workstation Type

Advertisement

Answer

Spark SQL uses back-tick ` for delimiters, and identifiers with spaces in them must be delimited identifiers in SQL. So

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement