Skip to content

Releases: Datavault-UK/automate-dv

Pre-Release v0.3.1

25 Oct 12:46
Compare
Choose a tag to compare

Documentation Status

[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

24 Oct 16:20
Compare
Choose a tag to compare

Documentation Status

[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

16 Oct 23:26
Compare
Choose a tag to compare

Documentation Status

[v0.2.4-pre] - 2019-10-17

Bug Fixes

  • Fixed a bug where the target alias would be used instead of the source alias when incrementally loading a hub or link, causing subsequent loads after the initial load, to fail.

Pre-Release v0.2.3

08 Oct 16:13
Compare
Choose a tag to compare

Documentation Status

[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.

Documentation

  • Updated hash and multi-hash according to new changes.
  • Updated walk-through accordingly

Pre-Release v0.2.2

08 Oct 12:45
Compare
Choose a tag to compare

Documentation Status

[v0.2.2-pre] - 2019-10-08

Documentation

  • Finished Satellite page
  • Added Union sections to Hub and Link pages
  • Updated staging page with Satellite fields
  • Renamed stg_orders_hashed back to stg_customers_hashed

Pre-Release v0.2.1

07 Oct 20:41
Compare
Choose a tag to compare

Documentation Status

[v0.2.1-pre] - 2019-10-07

Documentation

  • Minor additions and corrections to documentation:
    • Fixed website URL in footer
    • Added contribution page to docs
    • Corrected version in dbt_project.yml

Pre-Release v0.2

07 Oct 17:57
Compare
Choose a tag to compare

Documentation Status

[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.
  • 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.
  • 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.

Pre-Release v0.1

04 Oct 09:59
Compare
Choose a tag to compare

A re-release of v0.1-pre (we needed to clean up the versioning!)

Documentation Status

[v0.1-pre] - 2019-09 / 2019-10

Added

  • Table Macros:

    • Hub
    • Link
    • Satellite
  • Supporting Macros:

    • cast
    • hash
    • prefix
  • Staging Macros:

    • add_columns
    • multi_hash
    • staging_footer