Modify the haspartition() to check if the resolved storage table has partition.
Merge pull request #1 from sreekanth-r/develop

Check exact storage for Dimension table in Cube Select Queries
Cube rewriter throws SemanticException with ErrorMsg as field
Merge pull request #2 from InMobi/semantic-errors

Cube rewriter throws SemanticException with ErrorMsg as field
Skip dimension storage table, if it does not exist
Add missing try-catch
Add format field to cube error messages
Add brackets around order by columns