public void testHiveTimestampQuoteLiteral() throws SQLException {
/*MONDRIAN-2208*/
Dialect hiveDbDialect =
TestContext.getFakeDialect(Dialect.DatabaseProduct.HIVE);
StringBuilder buf = new StringBuilder();
hiveDbDialect.quoteTimestampLiteral( buf, "2014-10-29 10:27:55.12");
assertEquals(
"TIMESTAMP literal for Hive requires special syntax (cast)",
"cast( '2014-10-29 10:27:55.12' as timestamp )", buf.toString());
}