refactor: do not print error log on PlanQuery error (#4322)

This commit is contained in:
Ning Sun
2024-07-09 14:34:30 +08:00
committed by GitHub
parent 1a9314a581
commit 7fe3f496ac

View File

@@ -159,7 +159,6 @@ impl StatusCode {
| StatusCode::Unexpected
| StatusCode::Internal
| StatusCode::Cancelled
| StatusCode::PlanQuery
| StatusCode::EngineExecuteQuery
| StatusCode::StorageUnavailable
| StatusCode::RuntimeResourcesExhausted => true,
@@ -171,6 +170,7 @@ impl StatusCode {
| StatusCode::TableNotFound
| StatusCode::RegionAlreadyExists
| StatusCode::RegionNotFound
| StatusCode::PlanQuery
| StatusCode::FlowAlreadyExists
| StatusCode::FlowNotFound
| StatusCode::RegionNotReady