20

Python and Spark

1 / Which of the following lines of code will sort rows ascending in a column “created_date” such that the null values appear last? - Python and Spark
orderBy(asc_nulls_last(“created_date”))
sort(asc_nulls_last(“created_date”))
orderBy(col(“created_date”).asc_nulls_last())
orderBy(col(“created_date”), ascending=True)
Loading...