'Pyspark 1.6.3 error when trying to use to_date method
im currently working on pyspark 1.6.3 and there is this error. Do you know what can be the reason?
Solution 1:[1]
In Pyspark 1.6 version to_date has only one argument from version it is accepting 2 parameters For 1.6: https://spark.apache.org/docs/1.6.0/api/python/pyspark.sql.html#module-pyspark.sql.functions
For 2.3: https://spark.apache.org/docs/2.3.1/api/python/pyspark.sql.html#module-pyspark.sql.functions
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Mounika Bairi |