Skip to content

0.8.2

Compare
Choose a tag to compare
@mikeknep mikeknep released this 01 Jun 19:26
· 88 commits to main since this release
19a08ea

Deprecation warning ⚠️

Two methods have been deprecated and will be removed in a future release.

  • train_transforms_models is deprecated in favor of train_transforms
  • train is deprecated in favor of train_synthetics

More on these below.

New features 🚀

JSON support

Gretel Relational can now handle columns with nested JSON. No changes to existing code are required. Depending on shape, nested JSON may lead to additional models being trained under the hood.

Single transforms config for all tables

The new train_transforms method (replacing the now-deprecated train_transforms_models) accepts a single Transforms model config and applies it to all tables. The set of tables being transformed can be controlled via the optional only (inclusive) and ignore (exclusive) parameters.

Tables can be excluded from synthetics

The new train_synthetics method (replacing the now-deprecated train) supports omitting tables from synthetics training. This is useful if you have a table with static reference data that should never be synthesized. As above, the scope of tables is controlled by the optional only and ignore parameters.

Optional schema parameter for Connector

The Connector#extract method takes an optional schema parameter that gets forwarded to SQLAlchemy and Pandas. Note: this parameter is dialect-specific and not supported by all databases.


All PRs

Full Changelog: v0.8.1...v0.8.2