Fixed the bug that all columns for cached tables get pruned in lateral view (and as a result returning nulls for everything).
Merge pull request #256 from rxin/lateralview

Fixed the bug that all columns for cached tables get pruned in lateral view (and as a result returning nulls for everything).