Skip to content

Commit

Permalink
Merge pull request dbt-labs#65 from fishtown-analytics/feature/type-t…
Browse files Browse the repository at this point in the history
…imestamp

added timestamp type to cross-db-utils data types
  • Loading branch information
jthandy committed May 21, 2018
2 parents 39b085d + 21062cb commit 6117edf
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions macros/cross_db_utils/datatypes.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,19 @@
{% macro snowflake__type_string() %}
varchar
{% endmacro %}



{# timestamp ------------------------------------------------- #}

{% macro type_timestamp() %}
{{ adapter_macro('dbt_utils.type_timestamp') }}
{% endmacro %}

{% macro default__type_timestamp() %}
timestamp
{% endmacro %}

{% macro snowflake__type_timestamp() %}
timestamp_ntz
{% endmacro %}

0 comments on commit 6117edf

Please sign in to comment.