Releases: DeepLcom/sql-mock
Releases · DeepLcom/sql-mock
v0.6.2
v0.6.1
v0.6.0
Changelog
Added
Changed
- ColumnMock nullable by default
Breaking Changes
- Path to dbt project.yml file is provided instead of manifest.json
- Array types use other ColumnMock classes as inner type
- Consistent naming of TableMock classes:
- BaseMockTable -> BaseTableMock
- BigQueryMockTable -> BigQueryTableMock
- RedshiftMockTable -> RedshiftTableMock
- SnowflakeMockTable -> SnowflakeTableMock
Fixed
- Failing on mixed None values #34
Migration guide to v0.6.0
Rename the usage of Table Mock classes
Since fixed the inconsistent naming for Table Mocks, you need to make sure to rename your base classes wherever used:
- BaseMockTable -> BaseTableMock
- BigQueryMockTable -> BigQueryTableMock
- RedshiftMockTable -> RedshiftTableMock
- SnowflakeMockTable -> SnowflakeTableMock
Dbt projects
Previously for dbt project you would provide the path to your manifest file. This now needs to change to provide the path to the dbt_project.yml
from sql_mock.config import SQLMockConfig
SQLMockConfig.set_dbt_project_path('/path/to/your/dbt_project.yml')
Full Changelog: v0.5.4...v0.6.0
v0.5.4
Full Changelog: v0.5.3...v0.5.4
Use vanilla query method to avoid some issues that we saw with NULL values on Clickhouse