13

エラーが発生しています

" FAILED: Error in semantic analysis: Line 1:101 OR not supported in JOIN currently dob"

以下のクエリの実行中に..

Insert Overwrite Local Directory './Insurance_Risk/Merged_Data' Select f.name,s.age,f.gender,f.loc,f.marital_status,f.habits1,f.habits2,s.employement_status,s.occupation_class,s.occupation_subclass,s.occupation from sample_member_detail s Join fb_member_detail f 
On s.email=f.email or 
s.dob=f.dob 
or (f.name=s.name and f.loc = s.loc and f.occupation=s.occupation)
where s.email is not null and f.email is not null;

ハイブで " OR" 演算子を使用できるかどうかを教えてもらえますか? そうでない場合、上記のクエリと同じ結果が得られるクエリは何でしょうか。2 つのテーブルがあり、or 演算子を使用して 3 つの条件のいずれかで 2 つのテーブルを結合したいと考えています。助けてください..

4

2 に答える 2