On Fri, Oct 18, 2024 at 10:22 PM jian he <jian.universal...@gmail.com> wrote: > So overall I doubt here BTEQUALIMAGE_PROC flag usage is correct.
The BTEQUALIMAGE_PROC flag is used to prevent eager aggregation for types whose equality operators do not imply bitwise equality, such as NUMERIC. After a second thought, I think it should be OK to just check the equality operator specified by the SortGroupClause for btree equality. I’m not very sure about this point, though, and would appreciate any inputs. Thanks Richard