Re: HashAgg degenerate case

Поиск
Список
Период
Сортировка
Искать

Re: HashAgg degenerate case

От:
David Rowley <dgrowleyml@gmail.com>
Дата:
On Wed, 6 Nov 2024 at 14:00, Jeff Davis  wrote:
> Fixing it seems fairly easy though: we just need to completely destroy
> the hash table each time and recreate it. Something close to the
> attached patch (rough).

I don't think it could be that exactly though as that could lead to
JIT compilation over and over again from the following chain of
function calls: build_hash_tables() -> build_hash_table() ->
BuildTupleHashTableExt() -> ExecBuildGroupingEqual() ->
ExecReadyExpr() -> jit_compile_expr()

David


FAQ