Skip to content

feat(ingest): enable EnsureAspectSizeProcessor for all sources #5450

feat(ingest): enable EnsureAspectSizeProcessor for all sources

feat(ingest): enable EnsureAspectSizeProcessor for all sources #5450

GitHub Actions / Unit Test Results (GX Plugin) failed Jan 2, 2025 in 0s

1 errors, 4 pass in 42s

5 tests   4 ✅  42s ⏱️
1 suites  0 💤
1 files    0 ❌  1 🔥

Results for commit b9135c6.

Annotations

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results (GX Plugin)

tests.integration.test_great_expectations with error

artifacts/Test Results (GX Plugin 3.11)/metadata-ingestion-modules/gx-plugin/junit.quick.xml [took 0s]
Raw output
collection failure
ImportError while importing test module '/home/runner/work/datahub/datahub/metadata-ingestion-modules/gx-plugin/tests/integration/test_great_expectations.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
venv/lib/python3.11/site-packages/_pytest/python.py:493: in importtestmodule
    mod = import_path(
venv/lib/python3.11/site-packages/_pytest/pathlib.py:587: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
venv/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:184: in exec_module
    exec(co, module.__dict__)
tests/integration/test_great_expectations.py:10: in <module>
    from datahub.testing.compare_metadata_json import assert_metadata_files_equal
../../metadata-ingestion/src/datahub/testing/compare_metadata_json.py:17: in <module>
    from datahub.ingestion.source.file import read_metadata_file
../../metadata-ingestion/src/datahub/ingestion/source/file.py:20: in <module>
    from datahub.ingestion.api.decorators import (
../../metadata-ingestion/src/datahub/ingestion/api/decorators.py:6: in <module>
    from datahub.ingestion.api.source import (  # noqa: I250
../../metadata-ingestion/src/datahub/ingestion/api/source.py:34: in <module>
    from datahub.ingestion.api.auto_work_units.auto_ensure_aspect_size import (
../../metadata-ingestion/src/datahub/ingestion/api/auto_work_units/auto_ensure_aspect_size.py:7: in <module>
    from datahub.ingestion.api.source import SourceReport
E   ImportError: cannot import name 'SourceReport' from partially initialized module 'datahub.ingestion.api.source' (most likely due to a circular import) (/home/runner/work/datahub/datahub/metadata-ingestion/src/datahub/ingestion/api/source.py)

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results (GX Plugin)

5 tests found

There are 5 tests, see "Raw output" for the full list of tests.
Raw output
tests.integration.test_great_expectations
tests.unit.test_great_expectations_action ‑ test_DataHubValidationAction_graceful_failure
tests.unit.test_great_expectations_action ‑ test_DataHubValidationAction_not_supported
tests.unit.test_great_expectations_action ‑ test_DataHubValidationAction_pandas
tests.unit.test_great_expectations_action ‑ test_DataHubValidationAction_sqlalchemy