hive拉链表取数

 例如,一个借款用户在hive上的拉链表(end_dt存放逻辑与普通介绍的拉链表不一致)

需要拉去它在2019-05-01日的状态,

取数逻辑是: select * from tb 

where start_dt<='2019-05-01' and end_dt>'2019-05-01' and dt>='201905'

 

  

oracle拉链表详细解释:https://blog.csdn.net/u012965373/article/details/81515463

 

posted on 2019-07-27 15:35  andy_1  阅读(598)  评论(0编辑  收藏  举报

导航