i want to ask a question about broadcast nestloop join? from google i know, that
left outer/semi join and right outer/semi join will use broadcast nestloop.
and in some cases, when the input data is very small, it is suitable to use. so here
how to define the input data very small? what parameter decides the threshold? I just want to disable it ( i found that set spark.sql.autoBroadcastJoinThreshold= -1 is no work for sql:select a.key1 from testdata1 as a where a.key1 not in (select key3 from testdata3) )
explain cost select a.key1 from testdata1 as a where a.key1 not in (select key3 from testdata3);