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

Support DATE_TRUNC with HOUR granularity #224

Open
anowinski-equinix opened this issue Oct 31, 2024 · 0 comments
Open

Support DATE_TRUNC with HOUR granularity #224

anowinski-equinix opened this issue Oct 31, 2024 · 0 comments

Comments

@anowinski-equinix
Copy link

Currently DATE_TRUNC is supported only with resolution up to DAY (seems to use 'date_granularity' as described on https://cloud.google.com/bigquery/docs/reference/standard-sql/date_functions#date_trunc ).

Please add support for HOUR granularity (and for other datetime_granularity values, like MINUTE or SECOND).

Current implementation fails on 'HOUR' resolution with message: "failed to scan rows: unexpected part value HOUR"

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