Re: Anti join confusion

Поиск
Список
Период
Сортировка
От Richard Guo
Тема Re: Anti join confusion
Дата
Msg-id CAMbWs48cKN5u2Q6iRCb=bUz6u_2tKGVf=czQRtNVw40-07PwCw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Anti join confusion  (Tender Wang <tndrwang@gmail.com>)
Ответы Re: Anti join confusion
Список pgsql-hackers
On Wed, Feb 26, 2025 at 7:09 PM Tender Wang <tndrwang@gmail.com> wrote:
> Recently, I found Greenplum implement pull-up NOT IN subquery. They have the below comments in their codes:
>
> We normalize NOT subqueries using the following axioms:
> *
> * val NOT IN (subq) =>  val <> ALL (subq)
>
> Richard, do you have an impression about this?

I vaguely recall that Greenplum converts NOT IN to some form of join
in certain cases, but I can't remember the details.

Thanks
Richard



В списке pgsql-hackers по дате отправления: