diff --git a/models/onadata_connector/onadata_from_airbyte.sql b/models/onadata_connector/onadata_from_airbyte.sql index 3ba47f9..ef017c3 100644 --- a/models/onadata_connector/onadata_from_airbyte.sql +++ b/models/onadata_connector/onadata_from_airbyte.sql @@ -1,6 +1,13 @@ -{#-- create a table name using the right configurations -- #} +-- 2023.05.08 AP. Work in progress model to help the creation of connector tables. Might Be changed later + +select 1 + +{# +-- create a table name using the right configurations -- {{ config(alias= var('connector_table_name') )}} -{#-- create a new table normalizing "airbyte_raw" JSON data into a specific table --#} -{#-- table name should be overridden when the model is called, by setting the 'vars' project variables --#} -{{normalize_onadata_form(schema_name = var('connector_schema_name'), form_name = '_airbyte_raw_' + var('connector_table_name') )}} \ No newline at end of file +-- create a new table normalizing "airbyte_raw" JSON data into a specific table -- +-- table name should be overridden when the model is called, by setting the 'vars' project variables -- +{{normalize_onadata_form(schema_name = var('connector_schema_name'), form_name = '_airbyte_raw_' + var('connector_table_name') )}} + +#} diff --git a/packages.yml b/packages.yml index 50f2f4d..426be12 100644 --- a/packages.yml +++ b/packages.yml @@ -1,3 +1,3 @@ packages: - package: dbt-labs/dbt_utils - version: 0.9.6 + version: 1.0.0