I have a psql connection where one of the columns are sql intervals, as such:

However, to me it seems that this is interpreted in a text format:
I would like to convert these into the GDS equivalent of interval / timedelta / duration; However, I cannot seem to find a function that does that.
I am aware of the DATE_DIFF function, with which I can picture a workaround, pseudocode:
DATE_DIFF(DATE(1000, 01, 01), DATE(1000+avg_timedelta.regexmatchyear, 01+avg_timedelta.regexmatchmonth, 01 + avg_timedelta.regexmatchday)
However, it feels strange to me that there is no interval type in GDS, even if one of the function's output is an interval; but the docs don't say anything about converting to interval.
