Skip to content

Commit

Permalink
update FrontendServiceSuite to adapt KyuubiSQLException.featureNotSup…
Browse files Browse the repository at this point in the history
…ported
  • Loading branch information
zhaomin1423 committed Jul 4, 2021
1 parent c06dbfd commit 396e70d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,8 @@ class FrontendServiceSuite extends KyuubiFunSuite {
val resp = client.GetPrimaryKeys(req)
assert(resp.getOperationHandle === null)
assert(resp.getStatus.getStatusCode === TStatusCode.ERROR_STATUS)
assert(resp.getStatus.getSqlState === null)
assert(resp.getStatus.getErrorMessage startsWith "Feature is not available")
assert(resp.getStatus.getSqlState === "0A000")
assert(resp.getStatus.getErrorMessage startsWith "feature not supported")
}
}

Expand All @@ -338,8 +338,8 @@ class FrontendServiceSuite extends KyuubiFunSuite {
val resp = client.GetCrossReference(req)
assert(resp.getOperationHandle === null)
assert(resp.getStatus.getStatusCode === TStatusCode.ERROR_STATUS)
assert(resp.getStatus.getSqlState === null)
assert(resp.getStatus.getErrorMessage startsWith "Feature is not available")
assert(resp.getStatus.getSqlState === "0A000")
assert(resp.getStatus.getErrorMessage startsWith "feature not supported")
}
}

Expand Down

0 comments on commit 396e70d

Please sign in to comment.