Browse Source

test

master
root 4 years ago
commit
4cc48234d3
2 changed files with 18 additions and 0 deletions
  1. 10
      dbt_project.yml
  2. 8
      macros/helper.sql

10
dbt_project.yml

@ -0,0 +1,10 @@
name: 'my_namespace'
version: '0.1.0'
require-dbt-version: [">=0.18.0", "<0.20.0"]
config-version: 2
target-path: "targets"
clean-targets: ["target", "dbt_modules"]
macro-paths: ["macros"]
log-path: "logs"

8
macros/helper.sql

@ -0,0 +1,8 @@
{% set pkgname = 'my_namespace'%}
{% macro current_timestamp() %}
getdate()
{% endmacro %}
{% macro current_timestamp2() -%}
{ return adapter.dispatch('current_timestamp', packages='my_namespace')}
{%- endmacro %}
Loading…
Cancel
Save