Filtering a pyspark dataframe to get rows from last N days doesn't work correctly and returns some data before the stated date

前端 未结 0 913
再見小時候
再見小時候 2021-02-04 21:45

I added a new column to my spark dataframe by combining these 4 columns year,month,day,time_hour as follow:

df = df.withColumn("tmp_timestamp&q         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题