Module expand_interval

Source

StructsΒ§

ExpandIntervalTransformRule πŸ”’
β€˜INTERVAL’ abbreviation transformer
INTERVAL_ABBREVIATION_MAPPING πŸ”’
INTERVAL_ABBREVIATION_PATTERN πŸ”’
Matches either one or more digits (\d+) or one or more ASCII characters [a-zA-Z] or plus/minus signs
IS_VALID_ISO_8601_PREFIX_PATTERN πŸ”’
Checks if the provided string starts as ISO_8601 format string (case/sign independent)

FunctionsΒ§

expand_interval_abbreviation πŸ”’
normalize_interval_name πŸ”’
Normalizes an interval expression string into the sql-compatible format. This function handles 2 types of input:
parse_iso8601_interval πŸ”’
single_quoted_string_expr πŸ”’
update_existing_interval_with_value πŸ”’