2017-09-27 71 views

回答

0

使用爆炸功能,然後從分解的表/圖

0

使用lateral view + explodeget_json_object選擇時間戳:

select s.*, get_json_object(a.your_json,'$.timeStamp') as timeStamp 
    from your_table s 
     lateral view outer explode (your_Array) a;