v1.5.0
This is a minor release upgrade addressing #83 with the following updates
-
Model Contracts
- Implemented
data_type_code_to_name
to convert Python oracledb driver return types to strings - Implemented
oracle__get_empty_subquery_sql
andoracle__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
- Implemented
-
Support the constraints data structure
- Map constraint types to CONSTRAINT_SUPPORT
- Override Adapter method render_column_constraint
-
Dependencies upgraded;
dbt-core==v1.5.0
andoracledb=1.3.1
-
Test cases added to test constraints, simple seed, caching etc