Skip to content

BI-8806-create-gh-workflow-for-testing-on-dbt-improvado-utils#48

Merged
Solovechik merged 11 commits intomasterfrom
BI-8806-create-gh-workflow-for-testing-on-dbt-improvado-utils
Jul 24, 2025
Merged

BI-8806-create-gh-workflow-for-testing-on-dbt-improvado-utils#48
Solovechik merged 11 commits intomasterfrom
BI-8806-create-gh-workflow-for-testing-on-dbt-improvado-utils

Conversation

@Solovechik
Copy link
Copy Markdown
Contributor

  • Adjusted datetime retrieval to remove timezone info for consistency.
  • Simplified interval counts calculation by removing unnecessary input lookback window reference.
  • Enhanced logging for batch insertions and improved color coding for schema consistency checks.
  • Updated lookback window calculations to use interval start and end directly for clarity.

…use integration

- Created .dockerignore and .gitignore files to exclude unnecessary files.
- Added .env file for ClickHouse connection settings.
- Configured dbt_project.yml with profile and macro paths.
- Implemented Dockerfile for Python environment setup.
- Created docker-compose.yml to define dbt and ClickHouse services.
- Added profiles.yml for dbt ClickHouse connection configuration.
- Included requirements.txt for necessary Python packages.
- Established initial dbt models and tests for microbatch processing.
- Set up GitHub Actions workflow for CI to run tests in Docker environment.
…g and interval calculations

- Adjusted datetime retrieval to remove timezone info for consistency.
- Simplified interval counts calculation by removing unnecessary input lookback window reference.
- Enhanced logging for batch insertions and improved color coding for schema consistency checks.
- Updated lookback window calculations to use interval start and end directly for clarity.
- Updated test structure to use class-based fixtures for better organization.
- Introduced constants for SQL queries to enhance readability and maintainability.
- Adjusted test cases for microbatch processing with varying batch sizes (1h, 8h, 24h).
- Ensured consistent ClickHouse client setup across tests.
- Updated test methods to utilize a common execution function for improved code reuse.
- Simplified parameter handling for batch size and query conditions in test cases.
- Maintained consistent setup for ClickHouse client across different batch size tests.
@Solovechik Solovechik merged commit b6eb2ec into master Jul 24, 2025
1 check passed
@Solovechik Solovechik deleted the BI-8806-create-gh-workflow-for-testing-on-dbt-improvado-utils branch July 24, 2025 12:35
@Solovechik Solovechik restored the BI-8806-create-gh-workflow-for-testing-on-dbt-improvado-utils branch July 24, 2025 13:21
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.

1 participant