SQL数据集中写入group by 报错
Caused by: java.lang.RuntimeException Received invalid response! Http Status Code: 500, {"error":{"root_cause":[{"type":"sql_illegal_argument_exception","reason":"Cannot find group [login_type]"}],"type":"sql_illegal_argument_exception","reason":"Cannot find group [login_type]"},"status":500}
select
login_type
,data_type
,approve_node_name
,is_pay
,avg(jsnhb_amt)/10000 as jsnhb_amt
,avg(csnhb_amt)/10000 as csnhb_amt
,sum(loan_amount_rmb)/10000 as loan_amount_rmb
from dm_fun_approve_excute_info
group by login_type,data_type,approve_node_name,is_pay