fixed araqne/igloosec#2. fixed inner join bug, and added hash join optimization