File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,6 @@ const (
256
256
esIncRight
257
257
esRightIterEOF
258
258
esCompare
259
- esRejectNull
260
259
esRet
261
260
)
262
261
@@ -273,7 +272,6 @@ func (i *existsIter) Next(ctx *sql.Context) (sql.Row, error) {
273
272
// when the secondaryProvider is empty
274
273
// - antiJoin succeeds to RET when LOAD_RIGHT EOF's
275
274
// - semiJoin fails when LOAD_RIGHT EOF's, falling back to LOAD_LEFT
276
- // - antiJoin fails when COMPARE returns true, falling back to LOAD_LEFT
277
275
nextState := esIncLeft
278
276
for {
279
277
switch nextState {
@@ -325,11 +323,6 @@ func (i *existsIter) Next(ctx *sql.Context) (sql.Row, error) {
325
323
return nil , err
326
324
}
327
325
328
- if res == nil && i .typ .IsExcludeNulls () {
329
- nextState = esRejectNull
330
- continue
331
- }
332
-
333
326
if ! sql .IsTrue (res ) {
334
327
nextState = esIncRight
335
328
} else {
@@ -344,12 +337,6 @@ func (i *existsIter) Next(ctx *sql.Context) (sql.Row, error) {
344
337
nextState = esRet
345
338
}
346
339
}
347
- case esRejectNull :
348
- if i .typ .IsAnti () {
349
- nextState = esIncLeft
350
- } else {
351
- nextState = esIncRight
352
- }
353
340
case esRet :
354
341
return i .removeParentRow (left ), nil
355
342
default :
You can’t perform that action at this time.
0 commit comments