diff --git a/.github/workflows/rest-catalog-tests.yml b/.github/workflows/rest-catalog-tests.yml index f000c40b..63192552 100644 --- a/.github/workflows/rest-catalog-tests.yml +++ b/.github/workflows/rest-catalog-tests.yml @@ -7,15 +7,15 @@ on: - ".github/workflows/rest-catalog-tests.yml" - "infra/ansible/roles/lakekeeper/files/bootstrap-warehouse.py" - "elt-common/**" - - "warehouses/facility_ops_landing/extract_load/opralogweb/**" + - "warehouses/facility_ops_landing/ingest/accelerator/opralogweb/**" - "warehouses/facility_ops/transform/**" pull_request: - types: [ opened, synchronize, reopened ] + types: [opened, synchronize, reopened] paths: - ".github/workflows/rest-catalog-tests.yml" - "infra/ansible/roles/lakekeeper/files/bootstrap-warehouse.py" - "elt-common/**" - - "warehouses/facility_ops_landing/extract_load/opralogweb/**" + - "warehouses/facility_ops_landing/ingest/accelerator/opralogweb/**" - "warehouses/facility_ops/transform/**" concurrency: diff --git a/warehouses/facility_ops_landing/ingest/accelerator/opralogweb/opralogweb.py b/warehouses/facility_ops_landing/ingest/accelerator/opralogweb/opralogweb.py index bafea90d..e63ef833 100755 --- a/warehouses/facility_ops_landing/ingest/accelerator/opralogweb/opralogweb.py +++ b/warehouses/facility_ops_landing/ingest/accelerator/opralogweb/opralogweb.py @@ -114,7 +114,7 @@ def additional_comment_to_markdown(table: pa.Table) -> pa.Table: pa.array( table[column_name] .to_pandas() - .apply(lambda x: x if x is None else html2text(x)) + .apply(lambda x: html2text(x) if isinstance(x, str) else x) ), )