select
md5(to_utf8(
concat(
if(id is null, '-', cast(id as VARCHAR)),
if(city_id is null, '-', cast(city_id as VARCHAR)),
if(user_id is null, '-', cast(user_id as VARCHAR)),
if(type is null, '-', cast(type as VARCHAR))
)
)) as record_key
from
flow_test.fact_user_model_day
where dt=20190603
Presto如何使用md5
最新推荐文章于 2025-07-28 13:53:55 发布
