Skip to content

Commit

Permalink
Remove parsing exception due to java library upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
mzitnik committed Jul 15, 2024
1 parent e1bc03d commit abf7b28
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,8 @@ class ClickHouseCatalog extends TableCatalog
// not sure if this check is necessary
case Left(exception) if exception.code == UNKNOWN_DATABASE.code =>
throw new NoSuchTableException(s"Database $db does not exist")
case Left(exception) if exception.toString.indexOf("Code: 60. DB::Exception: Unknown table") > 0 =>
throw new NoSuchTableException(ident)
case Left(rethrow) =>
println(rethrow)
throw rethrow
case Right(_) =>
(db, tbl)
Expand Down

0 comments on commit abf7b28

Please sign in to comment.