4 Commits

Author SHA1 Message Date
Nikhil Sontakke
60c9f4d246 Fix bug in default segmentby calc. in compression
There was a typo in the query used for the calculation of default
segmentbys in the case of compression.
2024-06-27 17:50:38 +05:30
Nikhil Sontakke
4e6e8e7e29 Fix a bug in default orderby calc. in compression
There was a "cute" typo in the query used for the calculation of
default orderbys in the case of compression. Fixed that.
2024-06-25 19:03:39 +05:30
Matvey Arye
ebb2556ab3 Make compression use the defaults functions
Previously, we create functions to calculate default order by and
segment by values. This PR makes those functions be used by default
when compression is enabled. We also added GUCs to disable those
functions or to use alternative functions for the defaults calculation.
2024-03-18 12:35:27 -04:00
Matvey Arye
e89bc24af2 Add functions for determining compression defaults
Add functions to help determine defaults for segment_by and order_by.
2024-01-22 08:10:23 -05:00