[BUG] 在 ClickHouse 调用 regexp_like() 时,服务器没有此功能 — 方言的谓词是 match()
作者: joshua-stauffer创建于 2026年9月17日更新于 2026年9月18日
标签bughelp wantedgood first issueready-for-workclaimed
Reproduced on 1.23.0 (673082d4b), Python 3.11, against the repository's ClickHouse container (assets/Docker/clickhouse, clickhouse-sqlalchemy 0.3.2).
Add to tests/integration/data_sources_and_expectations/expectations/test_expect_column_values_to_match_regex.py (import ClickHouseDatasourceTestConfig alongside the module's other configs):
@parameterize_batch_for_data_sources(
data_source_configs=[ClickHouseDatasourceTestConfig()],
data=DATA,
)
def test_regex_evaluates_on_clickhouse(batch_for_datasource: Batch) -> None:
"ClickHouse has a regex predicate, so the expectation must evaluate rather than raise.内容来源: fivetran/great_expectations