Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.9.4
-
None
Description
The below query which uses hash-join returns the expected result
// ds1 has one tuple {"id": "1", "f": 3} // ds2 is an empty dataset FROM ds1 LEFT OUTER JOIN ds2 ON ds1.f = ds2.f SELECT ds1, ds2;
The returned result is
{ "ds1": { "id": "1", "f": 3 } }
But the below equivalent query which uses nested-loop join returns incorrect result
FROM ds1 LEFT OUTER JOIN ds2 ON ds1.f > ds2.f SELECT ds1, ds2;
The returned result is
{ }