forcedotcom/phoenix — pull request #711 by maryannxue (2014-01-22 22:14:09+00:00)
Title: Fix issue #709 and #710

1. Make AliasedNode not inherit alias from its child node, so that aliasedNodeMap will only contain nodes with explicit alias. Thus, won't cause AmbiguousColumnException in ParseNodeRewriter.
2. Keep original alias in ColumnParseNode replaced by IndexStatementRewriter
3. In ExpressionProjector, use child node alias if AliasedNode has no explicit alias.
4. Fix up alias of ColumnParseNode in join queries with full column name if table name is specified.