[teiid-issues] [JBoss JIRA] (TEIID-3794) Impala Count Distinct with Case Statement Generates Bad SQL