Skip to content

Support Anomalies for ClickHouse #2021

@oleg-savko

Description

@oleg-savko

If understand current anomalies not support for clickhouse and simple tests end with following errors:

14:11:53  1 of 1 ERROR elementary_volume_anomalies_inflow_medium__hour__1__date_requested  [ERROR in 0.31s]
14:11:53  
14:11:56  1 of 1 START hook: elementary.on-run-end.0 ..................................... [RUN]
14:11:56  1 of 1 OK hook: elementary.on-run-end.0 ........................................ [OK in 2.48s]
14:11:56  
14:11:56  Finished running 2 project hooks, 1 test in 0 hours 0 minutes and 9.00 seconds (9.00s).
14:11:56  
14:11:56  Completed with 1 error, 0 partial successes, and 0 warnings:
14:11:56  
14:11:56    Compilation Error in test elementary_volume_anomalies_inflow_medium__hour__1__date_requested (models/marts/inflow/inflow.yml)
  'NoneType' object has no attribute 'lower'
14:11:56  
14:11:56  Done. PASS=2 WARN=0 ERROR=1 SKIP=0 TOTAL=3

when try to dive in code find following:

# Anomalies currently not supported on ClickHouse
@pytest.mark.skip_targets(["clickhouse"])
def test_anomalyless_table_volume_anomalies(test_id: str, dbt_project: DbtProject):
....

Does it in plan to add support for clickhouse?
or maybe something missed, and have workarounds for this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions