forcedotcom / phoenix

BSD 3-Clause "New" or "Revised" License
558 stars 227 forks source link

self-join doesn't work #684

Closed rtvt123 closed 10 years ago

rtvt123 commented 10 years ago

using master branch i get the below error while trying to run join on the same table:

this works (joining 2 tables) : SELECT t.col1 FROM table1 t JOIN table2 m ON t.col1=m.col1;

this one fails (joining on the same table): SELECT t.col1 FROM table1 t JOIN table1 m ON t.col1=m.col1;

Error: ERROR 1001 (42I01): Undefined column family. familyName=T.null (state=42I01,code=1001)

jtaylor-sfdc commented 10 years ago

Fixed by @maryannxue. Thanks for the excellent work!

rtvt123 commented 10 years ago

@maryannxue thanks for quick fix!

Alex