Releases: Datavault-UK/automate-dv
Releases · Datavault-UK/automate-dv
Pre-Release v0.3.1
[v0.3.1-pre] - 2019-10-25
Error handling
- An exception is now raised with an informative message when an incorrect source mapping is
provided for a model in the case where a source relation is also provided for a target mapping.
This caused missing columns in generated SQL, and a misleading error message from dbt.
Pre-Release v0.3
[v0.3-pre] - 2019-10-24
Improvements
-
We've removed the need to specify full mappings in the
tgt
metadata when creating table models.
Users may now provide a table reference instead, as a shorthand way to keep the column name
and date type the same as the source, read the docs for more details.
The option to provide a mapping is still available. -
The check for whether a load is a union load or not is now more reliable.
Documentation
- Updated code samples and explanations according to new functionality
- Added a best practises page
- Various clarifications added and errors fixed
Pre-Release v0.2.4
Pre-Release v0.2.3
[v0.2.3-pre] - 2019-10-08
Macros
- Updated hash and multi-hash
- hash now accepts a third parameter,
sort
which will alpha-sort provided columns when set to true. - multi-hash updated to take advantage of
the hash functionality.
- hash now accepts a third parameter,
Documentation
- Updated hash and multi-hash according to new changes.
- Updated walk-through accordingly
Pre-Release v0.2.2
Pre-Release v0.2.1
Pre-Release v0.2
[v0.2-pre] - 2019-10-07
This update brings many much-needed quality of life improvements!
Improved
-
Table Macros:
- All table macros now no longer require the tgt_cols parameter.
This was unnecessary duplication of metadata and removing this now makes
creating tables much simpler.
- All table macros now no longer require the tgt_cols parameter.
-
Supporting Macros:
- add_columns
- Simplified the process of adding constants.
- Can now optionally provide a dbt source to automatically
retrieve all source columns without needing to type them all manually. - If not adding any calculated columns or constants, column pairs can be omitted, enabling you to provide the source parameter above only.
- hash
- Now alpha-sorts columns prior to hashing, as per best practises.
- add_columns
-
Staging Macros:
- staging_footer
- Renamed to 'from' and functionality for adding constants moved to add_columns
- multi-hash
- Formatting of output now more readable
- Now alpha-sorts columns prior to hashing, as
per best practises.
- staging_footer