futurewei-cloud / chogori-opengauss

Other
2 stars 7 forks source link

K2PgPreloadRelCache fix and k2tupleid as constraint fix #86

Closed jfunston closed 1 year ago

jfunston commented 1 year ago

K2PgPreloadRelCache expected the results from k2 to be in order, which is not the case for chogori-opengauss. This fix sorts things after the scan so they can be processed into the relation cache.

Also quick workaround for k2tupleid as a scan constraint attribute. It will not throw an error anymore but will result in a full scan.