mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-01-16 07:41:04 +08:00
(improvement)(chat) fix embedding null pointer (#712)
This commit is contained in:
17
evaluation/error_case.json
Normal file
17
evaluation/error_case.json
Normal file
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"query": "在各公司所有品牌收入排名中,给出每一个品牌,其所在公司以及收入占该公司的总收入比例,同时给出该公司的年营业额",
|
||||
"gold_sql": "SELECT T3.company_name, T3.annual_turnover, T2.brand_name, T1.revenue_proportion FROM company_revenue AS T1 JOIN brand AS T2 JOIN company AS T3 ON T1.brand_id = T2.brand_id AND T1.company_id = T3.company_id",
|
||||
"pred_sql": "select * from tablea"
|
||||
},
|
||||
{
|
||||
"query": "在各公司所有品牌收入排名中,给出每一个品牌,其所在公司以及收入占该公司的总收入比例",
|
||||
"gold_sql": "SELECT T3.company_name, T2.brand_name, T1.revenue_proportion FROM company_revenue AS T1 JOIN brand AS T2 JOIN company AS T3 ON T1.brand_id = T2.brand_id AND T1.company_id = T3.company_id",
|
||||
"pred_sql": "select * from tablea"
|
||||
},
|
||||
{
|
||||
"query": "在各公司所有品牌收入排名中,给出每一个品牌和其法人,其所在公司以及收入占该公司的总收入比例",
|
||||
"gold_sql": "SELECT T3.company_name, T2.brand_name, T2.legal_representative, T1.revenue_proportion FROM company_revenue AS T1 JOIN brand AS T2 JOIN company AS T3 ON T1.brand_id = T2.brand_id AND T1.company_id = T3.company_id",
|
||||
"pred_sql": "select * from tablea"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user