Skip to content

Commit

Permalink
fix: sqlite test
Browse files Browse the repository at this point in the history
  • Loading branch information
loicmathieu committed Nov 2, 2023
1 parent 382241c commit 70aa012
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ plugin-jdbc-snowflake/src/test/resources/application-test.yml
plugin-jdbc-rockset/src/test/resources/application-test.yml
certs/
plugin-jdbc-postgres/src/test/resources/ssl/

plugin-jdbc-sqlite/temp
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ void select() throws Exception {
assertThat(runOutput.getRow().get("int_column"), is(42));

assertThat(runOutput.getRow().get("date_column"), is(LocalDate.parse("2023-10-30")));
assertThat(runOutput.getRow().get("datetime_column"), is(Instant.parse("2023-10-30T22:02:27.150Z")));
assertThat(runOutput.getRow().get("datetime_column"), is(Instant.parse("2023-10-30T23:02:27.150Z")));
assertThat(runOutput.getRow().get("time_column"), is(LocalTime.parse("14:30:00")));
assertThat(runOutput.getRow().get("timestamp_column"), is(Instant.parse("2023-10-30T13:30:00.0Z")));
assertThat(runOutput.getRow().get("timestamp_column"), is(Instant.parse("2023-10-30T14:30:00.0Z")));
assertThat(runOutput.getRow().get("year_column"), is(2023));

assertThat(runOutput.getRow().get("json_column"), is("{\"key\": \"value\"}"));
Expand Down

0 comments on commit 70aa012

Please sign in to comment.