[BISERVER-11357] Makes the dialect factory for Impala work on the 5.0 JDBC jars. The call to getDatabaseProduct doesn't return 'Hive' anymore.
[CELANUP] Must mock this. Was throwing UME, must throw SQLE.
[BISERVER-11357] The Hive 2 drivers return 'Apache Hive' instead of 'Hive'.
[MONDRIAN-1998] Fixes a problem with the lookups in the RolapStarRegistry when external events are processed. When we build segments, we use the alias of the relation. The same should be done when we process external cache events and tie them to the rolap schemas they belong to. Not doing so leads to unpredictable results, since the implementation of toString() might prepend the schema name before the table name and cause a mismatch and cause the external segments not to be indexed in their respective rolap star indexes.
[MONDRIAN-1998] When GC'ins a schema, we only clear the JDBC caches. When flushing the entire schema, we have to explicitly flush the segments from the indexes or else the external caches cannot get notified that the contents has become stale.
[MONDRIAN-1983] - quoting order by columns when referred to by their alias.
Merge pull request #297 from kurtwalker/MONDRIAN-1983

[MONDRIAN-1983] - quoting order by columns when referred to by their ali...