add label with case when by using timerange with spark sql?

前端 未结 0 1473
夕颜
夕颜 2021-02-02 16:05

I have this table where shows ID and also timestamp. I want to add label for each timestamp range.

ID          timestamp
a       2020-01-16 08:55:50
b       2020-         


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