Notiz
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Iech unzemellen oder Verzeechnesser ze änneren.
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Verzeechnesser ze änneren.
Returns the current date at the start of query evaluation as a DateType column. All calls of current_date within the same query return the same value.
For the corresponding Databricks SQL function, see curdate function.
Syntax
from pyspark.sql import functions as dbf
dbf.curdate()
Returns
pyspark.sql.Column: current date.
Examples
from pyspark.sql import functions as dbf
spark.range(1).select(dbf.curdate()).show()