calogica / dbt-date

Date-related macros for dbt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Full month name for Snowflake

mikaelene opened this issue · comments

When using this for Snowflake the month_name column gets i.e. "JanTH". This is because select to_char(current_date(), 'MONTH') is used.

If select TO_CHAR(current_timestamp, 'MMMM') is used instead, the full month name will be created.

Sorry. It was just a user error