-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from fivetran/connector-type-id-fix
Connector type id fix
- Loading branch information
Showing
5 changed files
with
40 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{% macro get_connector_columns() %} | ||
|
||
{% set columns = [ | ||
{"name": "_fivetran_deleted", "datatype": "boolean"}, | ||
{"name": "_fivetran_synced", "datatype": dbt_utils.type_timestamp()}, | ||
{"name": "connecting_user_id", "datatype": dbt_utils.type_string()}, | ||
{"name": "connector_id", "datatype": dbt_utils.type_string()}, | ||
{"name": "connector_name", "datatype": dbt_utils.type_string()}, | ||
{"name": "connector_type", "datatype": dbt_utils.type_string()}, | ||
{"name": "connector_type_id", "datatype": dbt_utils.type_string()}, | ||
{"name": "destination_id", "datatype": dbt_utils.type_string()}, | ||
{"name": "paused", "datatype": "boolean"}, | ||
{"name": "service_version", "datatype": dbt_utils.type_int()}, | ||
{"name": "signed_up", "datatype": dbt_utils.type_timestamp()} | ||
] %} | ||
|
||
{{ return(columns) }} | ||
|
||
{% endmacro %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
select * | ||
from {{ var('connector') }} |