timescale / promscale_extension

[DEPRECATED] Tables, types and functions supporting Promscale
Other
37 stars 17 forks source link

dataset config interact poorly with cagg views #592

Open cevian opened 1 year ago

cevian commented 1 year ago

This is from a customer issue: SDC #712

When the dataset configuration tried to set some default (not sure which one). The code looks at the metric catalog and tries to create the metric table in prom_data. But this isn't a metric table, it's a continous agg which has been registered. So something in our default setting code isn't handling continous aggs correctly.

Probably a blocker for downsampling too, since they register in the same way.

Harkishen-Singh commented 1 year ago

I didn't find any accidental caggs created when using dataset-config for metric rollups while benchmarking or testing. I will take a look into this.