HQL Failed rule: 'regularBody' in statement

Error: Error while compiling statement: FAILED: ParseException line 3:0 Failed to recognize predicate 'a'. Failed rule: 'regularBody' in statement (state=42000,code=40000)

查看創建和插入語句的語法是否有錯誤,在創建表並插入中要加上 as。


create table dw_comment_gender as 
select tmp_mv_male.malecnt as male_cnt ,
tmp_mv_female.femalecnt as female_cnt,
tmp_mv_male.mvid as mvid
from tmp_mv_male ,tmp_mv_female
where tmp_mv_male .mvid = tmp_mv_female.mvid; 

發佈了356 篇原創文章 · 獲贊 58 · 訪問量 6萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章