[MONDRIAN-1512]  Correcting the inline SQL used by Impala.
Merge pull request #138 from mkambol/mondrian1512

[MONDRIAN-1512]  Correcting the inline SQL used by Impala.