Spark cannot resolve column

df_typed = spark.sql(“SELECT cast(Price as int), cast(Age as int), cast(KM as int), FuelType, cast(HP as int), cast(MetColor as int), cast(Automatic as int), cast(CC as int), cast(Doors as int), cast(Weight as int) FROM usedcars_CSV”) df_typed Error: Py4JJavaError Traceback (most recent call last) /databricks/spark/python/pyspark/sql/utils.py in deco(*a, **kw) 62 try: —> 63 return f(*a, **kw) 64 except py4j.protocol.Py4JJavaError…

Details