Created
April 24, 2024 04:23
-
-
Save lightle/2225b1a2c0a96430f757b5d3036397f3 to your computer and use it in GitHub Desktop.
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
{{ | |
config( | |
materialized = 'view', | |
) | |
}} | |
select datecol, {{- is_last_day_of_month('datecol') -}} as is_last_day_of_month from | |
(select '2023-12-31' as datecol union all select '2022-12-03' as datecol) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment