Fabrízio de Royes Mello bdfac2969a Fix partial view definition on CAggs
When creating a CAgg using a column on the projection that is not part
of the `GROUP BY` clause but is functionally dependent of the primary
key of the referenced table is leading to a problem in dump/restore
because the wrong dependencies created changing the order and way dump
is generated.

Fixed it by copying the `Query` data structure of the `direct view` and
changing the necessary properties instead of creating it from scratch.
2024-07-25 09:48:53 -03:00
..
2024-05-25 02:11:23 -03:00
2021-11-15 14:54:14 +03:00
2021-11-15 14:54:14 +03:00
2021-11-15 14:54:14 +03:00
2024-02-12 09:32:40 +01:00
2021-11-15 14:54:14 +03:00
2021-11-15 14:54:14 +03:00
2021-11-15 14:54:14 +03:00
2024-05-14 17:19:20 +02:00
2023-11-04 13:29:02 -03:00
2024-05-14 17:19:20 +02:00