Skip to content

Commit

Permalink
fix: BI-0 update CHYT err parser with an optional asterisk before cli…
Browse files Browse the repository at this point in the history
…que (#869)

fix: BI-0 update CHYT err parser with an optional star before clique
  • Loading branch information
KonstantAnxiety authored Mar 6, 2025
1 parent 9439b22 commit 4482a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dl_connector_chyt/dl_connector_chyt/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class CHYTUtils(ClickHouseBaseUtils):
}
chyt_fallback_exc_cls = chyt_exc.CHYTQueryError
clique_expr_exc = {
r'User "(?P<user>[-0-9a-zA-Z]+)" has no access to clique (?P<clique>\*\S+)': chyt_exc.CHYTCliqueAccessDenied,
r'User "(?P<user>[-0-9a-zA-Z]+)" has no access to clique \*?(?P<clique>\S+)': chyt_exc.CHYTCliqueAccessDenied,
r"Clique (?P<clique>\*\S+) is not running": chyt_exc.CHYTCliqueIsNotRunning,
r"Clique (?P<clique>\*\S+) is suspended": chyt_exc.CHYTCliqueIsSuspended,
r"Invalid clique specification": chyt_exc.CHYTCliqueNotExists,
Expand Down

0 comments on commit 4482a1b

Please sign in to comment.