Create table d_rel_t.Acty_dim_Csv(acty_cde int,
acty_nm string,
acty_typ string,
gdgs_ind string,
dly_growth_ind string,
grc_ind string,
acty_txn_lob_cde string,
txn_prd_seg_cde string
)
Row format delimited fields terminated by ','
partitioned by(acty_ctgry_cde string);
编译语句时出错:FAILED:ParseException第10:0行无法识别'partitioned''附近的输入''('在serde属性规范中
我收到此错误,请建议
答案 0 :(得分:0)
partitioned by
在row format
规范之前发布。
create table d_rel_t.Acty_dim_Csv(acty_cde int,
acty_nm string,
acty_typ string,
gdgs_ind string,
dly_growth_ind string,
grc_ind string,
acty_txn_lob_cde string,
txn_prd_seg_cde string
)
partitioned by(acty_ctgry_cde string)
row format delimited fields terminated by ','
;