Skip to content
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

Setup DWH Synchronization #1071

Merged
merged 6 commits into from
Jan 9, 2025
Merged

Conversation

rcourivaud
Copy link
Collaborator

No description provided.

Signed-off-by: Raphaël Courivaud <[email protected]>
@rcourivaud rcourivaud self-assigned this Jan 3, 2025
@rcourivaud rcourivaud changed the title Feat/setup dlt to ingest production Setup DWH Synchronization Jan 3, 2025
Comment on lines +5 to +8
# tests:
# - utils/same_row_number.sql:
# table_one: marts_production_housing
# table_two: int_production_housing
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code mort à supprimer ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Il faut que je passe du temps pour setup les tests

analytics/dbt/models/staging/ff/sources.yml Outdated Show resolved Hide resolved
analytics/dbt/models/staging/lovac/sources.yml Outdated Show resolved Hide resolved
analytics/dagster/Dockerfile Outdated Show resolved Hide resolved
analytics/dagster/src/assets/dwh/__init__.py Outdated Show resolved Hide resolved
analytics/.gitignore Outdated Show resolved Hide resolved
analytics/dagster/src/assets/dwh/ingest/queries/ff.py Outdated Show resolved Hide resolved
analytics/dbt/packages.yml Outdated Show resolved Hide resolved
analytics/dbt/profiles.yml Show resolved Hide resolved
prod:
type: duckdb
path: "/opt/dagster/dagster_home/db/dagster.duckdb"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c'est stocké sur le filesystem en prod donc ? attention, ce sera perdu au rebuild. Pour un stockage pérenne il faudra ajouter un FS Bucket et le paramétré si possible par variable d'environnement (ce sera utile pour créer des environnements staging à la volée)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

je crois que pour une app docker ce n'est pas possible cela dit... à voir si on peut se permette de reconstruire la db à chaque rebuild ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Le problème de FS Bukcet, c'est que c'est ULTRA ULTRA CHER.
Ce que je vais faire c'est soit proposer de rebuild soit download une version déjà built.

La partie problématique c'est plus les données LOVAC / FF, qui font plusieurs dizaines de Go.

analytics/dagster/src/dlt_sources/.dlt/config.toml Outdated Show resolved Hide resolved
Signed-off-by: Raphaël Courivaud <[email protected]>
Signed-off-by: Raphaël Courivaud <[email protected]>
Signed-off-by: Raphaël Courivaud <[email protected]>
@rcourivaud rcourivaud merged commit cc0c96d into main Jan 9, 2025
4 checks passed
@rcourivaud rcourivaud deleted the feat/setup-dlt-to-ingest-production branch January 9, 2025 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants