-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix(ingestion/clickhouse) move to two tier sqlalchemy #8300
Fix(ingestion/clickhouse) move to two tier sqlalchemy #8300
Conversation
…move_to_TwoTierSqlalchemy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please also update integration tests / golden files with respect to the changes ?
metadata-ingestion/src/datahub/ingestion/source/sql/clickhouse.py
Outdated
Show resolved
Hide resolved
metadata-ingestion/docs/sources/clickhouse/clickhouse_recipe.yml
Outdated
Show resolved
Hide resolved
metadata-ingestion/docs/sources/clickhouse/clickhouse_recipe.yml
Outdated
Show resolved
Hide resolved
metadata-ingestion/src/datahub/ingestion/source/sql/clickhouse.py
Outdated
Show resolved
Hide resolved
metadata-ingestion/src/datahub/ingestion/source/sql/clickhouse.py
Outdated
Show resolved
Hide resolved
metadata-ingestion/src/datahub/ingestion/source/sql/clickhouse.py
Outdated
Show resolved
Hide resolved
…qlalchemy # Conflicts: # docs/how/updating-datahub.md
added source Co-authored-by: Mayuri Nehate <33225191+mayurinehate@users.noreply.github.com>
metadata-ingestion/src/datahub/ingestion/source/sql/clickhouse.py
Outdated
Show resolved
Hide resolved
metadata-ingestion/src/datahub/ingestion/source/sql/clickhouse.py
Outdated
Show resolved
Hide resolved
…house)_move_to_TwoTierSqlalchemy
…house)_move_to_TwoTierSqlalchemy # Conflicts: # docs/how/updating-datahub.md
|
||
|
||
@freeze_time(FROZEN_TIME) | ||
@pytest.mark.integration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank for adding the test. This is not the test I was looking for. I was looking for unit test similar to test_clickhouse_uri_native_secure
in test_clickhouse_source.py for clickhouse secure
and protocol
config that demonstrate backward compatibility if these configs are used.
The current test looks good too, however, I believe the golden files are exactly same as existing clickhouse_mces_golden.json, except the run_id. I'd suggest using the same golden files in check_golden_file by using same run_id in new sqlalchemy uri recipe, rather than adding a duplicate 99% same golden file.
…house)_move_to_TwoTierSqlalchemy
…house)_move_to_TwoTierSqlalchemy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm.
Co-authored-by: Mayuri Nehate <33225191+mayurinehate@users.noreply.github.com>
Co-authored-by: Mayuri Nehate <33225191+mayurinehate@users.noreply.github.com>
Merging as should not be related to smoke test failure |
Co-authored-by: Mayuri Nehate <33225191+mayurinehate@users.noreply.github.com>
Checklist
There 2 big improvements: