apache/incubator-phoenix — pull request #23 by maryannxue (2014-03-31 02:06:28+00:00)
Title: PHOENIX-71 Support sub-joins

Re-define JoinTableNode as a nested recursive TableNode to allow grammar like "A join (B join C)".
This change will also facilitate DerivedTable handling in join queries.