mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-28 00:42:56 +00:00
feat: improve datafusion external error and mysql error (#4362)
* feat: improve datafusion external error and mysql error * chore: address CR comments and fix tests --------- Co-authored-by: evenyag <realevenyag@gmail.com>
This commit is contained in:
@@ -264,7 +264,7 @@ pub async fn test_sql_api(store_type: StorageType) {
|
||||
|
||||
let body = serde_json::from_str::<ErrorResponse>(&res.text().await).unwrap();
|
||||
assert!(body.error().contains("Table not found"));
|
||||
assert_eq!(body.code(), ErrorCode::PlanQuery as u32);
|
||||
assert_eq!(body.code(), ErrorCode::TableNotFound as u32);
|
||||
|
||||
// test database given
|
||||
let res = client
|
||||
|
||||
Reference in New Issue
Block a user