Skip to content

v1.5.0

Compare
Choose a tag to compare
@aosingh aosingh released this 10 May 23:06
· 130 commits to main since this release
f736c18

This is a minor release upgrade addressing #83 with the following updates

  1. Model Contracts

    • Implemented data_type_code_to_name to convert Python oracledb driver return types to strings
    • Implemented oracle__get_empty_subquery_sql and oracle__get_empty_schema_sql to generate SQL to assert column spec equivalence
    • Updated macro create_table_as; calls to two macros that assert column spec equivalence and template out DDL containing column names, types, and constraints
    • Updated macro create_view_as added a call to the macro asserting column spec equivalence
  2. Support the constraints data structure

    • Map constraint types to CONSTRAINT_SUPPORT
    • Override Adapter method render_column_constraint
  3. Dependencies upgraded; dbt-core==v1.5.0 and oracledb=1.3.1

  4. Test cases added to test constraints, simple seed, caching etc