Conversation
|
|
||
| [Documentation](https://docs.timescale.com/api/latest/hyperfunctions/gapfilling-interpolation/time_bucket_gapfill/) | ||
| """ | ||
| defmacro time_bucket_gapfill(field, time_bucket) do |
There was a problem hiding this comment.
Would love to see time_bucket_gapfill/2 get a time_bucket_gapfill/3 sibling that takes options in parity with time_bucket/3, as I have a use case of passing timezone to my fragments 🙏
There was a problem hiding this comment.
Ah, turns out time_bucket/3 doesn't actually support the timescale implementation's timezone option. my use case calls for timezone to be passed as a positional argument to time_bucket_gapfill. gonna play around with a fragment macro and see if I can get it to blend locally
There was a problem hiding this comment.
Okay, even with a working fragment, postgres barfs because my timestamp is a timestamp without timezone, which I'd forgotten about, and which has sent me down a rabbit hole of postgres/ecto timestamp storage/casting articles.
Disregard, though I may report back!
There was a problem hiding this comment.
@vanderhoop now that I know you're looking for this, I'll try to get this cleaned up and merged in
No description provided.