This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% macro trange_join(left_model, row_key_left, right_model, row_key_right, merge_key, series_key, from_at, to_at) %} | |
-- Assumptions: | |
-- Within a series key, there can be no overlapping ranges. | |
-- Overlaping ranges must be resolved prior to using this macro. | |
-- The row key represents a set of attributes from a model. It is typically a hash of those | |
-- attributes. The user is expected to join the results of this macro back to the | |
-- original data to get the full attribute set. | |