Skip to content

Releases: DeepL/sql-mock

v0.6.2

Choose a tag to compare

@smoothml smoothml released this 17 Apr 10:06

What's Changed

Full Changelog: v0.6.1...v0.6.2

v0.6.1

Choose a tag to compare

@smoothml smoothml released this 08 Apr 07:45

Changelog

Fixed

  • Add default target path for dbt
  • Improve replacement of tables (also taking into account missing alias)
  • Do not require mocks for ARRAY JOIN clause arguments

v0.6.0

Choose a tag to compare

@Somtom Somtom released this 28 Jan 09:11

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

Choose a tag to compare

@Somtom Somtom released this 24 Jan 09:33

Full Changelog: v0.5.3...v0.5.4

Use vanilla query method to avoid some issues that we saw with NULL values on Clickhouse

v0.5.3

Choose a tag to compare

@Somtom Somtom released this 24 Jan 07:19

What's Changed

  • Support secure connection to Clickhouse by @Somtom in #40

Full Changelog: v0.5.2...v0.5.3

v0.5.2

Choose a tag to compare

@Somtom Somtom released this 23 Jan 10:33

Reverted usage of chdb since it sometimes returned empty results for bigger queries

v0.5.1

Choose a tag to compare

@Somtom Somtom released this 23 Jan 10:18

What's Changed

  • Corrected title (ClickHouse -> Redshift) by @ravi77o in #31
  • replacing hyphens in MockTableMeta cte_name by @mcnick in #32
  • Use chdb package to fully mock Clickhouse connection

Full Changelog: v0.5.0...v0.5.1

v0.5.0

Choose a tag to compare

@Somtom Somtom released this 07 Jan 14:38
34c3723

What's Changed

Full Changelog: v0.4.0...v0.5.0

v0.4.0

Choose a tag to compare

@Somtom Somtom released this 30 Dec 10:08

Added

Changed

Fixed

Full Changelog: v0.3.1...v0.4.0

v0.3.1

Choose a tag to compare

@Somtom Somtom released this 17 Nov 07:44
a12d9b5

What's Changed

Full Changelog: v0.3.0...v0.3.1