Use QueryOptimizer.optimize() in join query compilation
Revert some of the changes
Add optimize() for join queries
Add HashJoinTestWithIndex
Merge remote-tracking branch 'upstream/master'
Merge pull request #621 from maryannxue/master

Fix issue #502 Use QueryOptimizer.optimize to choose single table query plan