cpp: Tsdbs: first implementation of get_time_series_table