Skip to content

Conversation

vianhazman
Copy link
Member

No description provided.

@vianhazman vianhazman marked this pull request as ready for review September 23, 2021 08:47
@kushsharma
Copy link
Member

This looks good, can you add an example or test that uses this?

@vianhazman
Copy link
Member Author

Hi @kushsharma , thanks for reviewing. I've added an example in the latest commit a95c38d.

Comment on lines +2 to +3
TIMESTAMP('__dstart__') as dstart,
TIMESTAMP('__dend__') as dend,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these dstart dend macros won't work now and these will be exact timestamps getting passed to this SQL, we know that right?

Comment on lines +6 to +7
WHERE date >= DATE_SUB('__dstart__', INTERVAL 14 DAY)
AND date < '__dend__'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

similarly, these will be exact timestamps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants