Skip to content

Commit

Permalink
issue #1134 adressed
Browse files Browse the repository at this point in the history
  • Loading branch information
wumpz committed Mar 20, 2021
1 parent c3a1aa6 commit 5d9f4fd
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4475,4 +4475,9 @@ public void testArrayDeclare() throws JSQLParserException {
assertSqlCanBeParsedAndDeparsed("SELECT ARRAY[1, f1], ARRAY[[1, 2], [3, f2 + 1]], ARRAY[]::text[] FROM t1");
}

@Test
public void testColonDelimiterIssue1134() throws JSQLParserException {
Statement stmt = CCJSqlParserUtil.parse("SELECT * FROM stores_demo:informix.accounts");
assertEquals("SELECT * FROM stores_demo.informix.accounts", stmt.toString());
}
}

0 comments on commit 5d9f4fd

Please sign in to comment.