use database1;
create view if not exists database1.view_yy as
with
tb444 as (
select recordid,get_json_object(json,'$.score1') as score1 from fc_face_in_record where captime >= 0 and captime <=3673342425732
),
tb_7787 as (select * from (select id_ujjsdk,id_uuu,cc444,record_id from fc_p_face_cluster where cap_time >= 0 and cap_time <=3673342425732)l left anti join fc_face_merged_dossier_history r on l.id_ujjsdk=r.old_profile_id ),
tb123 as (select l2.*,r2.city from tb_7787 l2 left join channel_city r2 on l2.cc444 = r2.channelId),
tb_joined as (select l3.*,if(r3.score1 is null, "",id_uuu) as id_uuu_le65 from tb123 l3 left join tb444 r3 on l3.record_id = r3.recordid),
rp111 as (select
hivesql sparksql with...as 创建永久视图
于 2023-01-17 08:49:05 首次发布