public void testRewriteFromItem() throws Exception {
PostgresqlQueryRewriter rewriter = new PostgresqlQueryRewriter(null);
assertEquals("\"public\".foo",
rewriter.rewriteFromItem(new FromItem(new MutableTable("foo").setSchema(new MutableSchema("public")))));
}
public void testGetColumnType() throws Exception {
PostgresqlQueryRewriter rewriter = new PostgresqlQueryRewriter(null);
assertEquals(ColumnType.BOOLEAN, rewriter.getColumnType(Types.BIT, "bool", -1));