Unresolved reference while trying to import col from pyspark.sql.functions in python 3.5 -
refer post here: spark structured streaming python import 'col' in python 3.5
from pyspark.sql.functions import col
however got error saying unresolved reference col. i've installed pyspark library, wondering has 'col' been removed pyspark library? , how can import 'col' then.
it turns out intellij idea's problem. though shows unresolved reference, program still runs without problem in command line.
Comments
Post a Comment