I am trying to query a dataframe and add a column with a set value but I'm not sure how to get it to work. I know how it works in SQL but I could use help converting it to pyspark.
PL/SQL Example: SELECT 1 AS column1 ,2 AS column2 FROM dual;
pyspark: empDF.select("name", col("").alias("nullColumn")).display()