Skip to content

Current_date snowflake function cause to lag in data #44

Closed
@RivkiHofman

Description

@RivkiHofman

Hi

I have a question about lag of data in our Jira dashboards.
Until the hour 10 AM (Israel time), we can't see the data of current date, although that in Fivetran there is data of current date.
I investigated this issue and find that the int table :int_jira__issue_calendar_spine use with filter: "where date_day <= current_date".

The function current_date bring me the real date just starting from 10 AM (Israel time), and this is the reason of lag in our data.

First I will happy to understand what is the meaning of current_date, which time is it?(I'm sorry, I know that it is snowflake function, but I don't understand according by this function brings the date) .
And also I want to ask if there is an option to change it for UTC time (for example sysdate() function) or to give an option to users, to choose the desired time.

Thank a lot for your feedback, and have a nice week.
Rivki

Metadata

Metadata

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions