Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Run with hourly granularity #360

Open
alexnikitchuk opened this issue Oct 1, 2022 · 0 comments
Open

[FEATURE] Run with hourly granularity #360

alexnikitchuk opened this issue Oct 1, 2022 · 0 comments

Comments

@alexnikitchuk
Copy link

Tell us about the problem you're trying to solve

re_data run start-date and end-date options are forced to match date format "%Y-%m-%d hence it is not possible to use it to generate metrics per hour e.g.

re_data run --interval hours:1 --start-date "2022-09-29 11:00:00" --end-date "2022-09-29 12:00:00"

Describe the solution you’d like

start-date and end-date options should support formats that includes hour

Describe the alternative you’ve considered or used

run via dbt run

dbt run --models package:re_data --vars '{"re_data:time_window_start": "2022-09-29 11:00:00", "re_data:time_window_end": "2022-09-29 12:00:00"}'
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

No branches or pull requests

1 participant