Skip to content

Commit

Permalink
Fixed BIT type (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdalbertMemSQL authored Oct 28, 2024
1 parent 729d4b6 commit 173cf7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@
<version.logback-classic>1.4.14</version.logback-classic>
<version.mockito>3.0.0</version.mockito>
<version.org.slf4j>2.0.4</version.org.slf4j>
<version.singlestore.jdbc.driver>1.2.0</version.singlestore.jdbc.driver>
<version.singlestore.jdbc.driver>1.2.5</version.singlestore.jdbc.driver>
<version.testcontainers>1.19.3</version.testcontainers>
</properties>

Expand Down
3 changes: 1 addition & 2 deletions src/test/java/com/singlestore/debezium/StreamingIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ public void canReadAllTypes() throws SQLException, ParseException, InterruptedEx
// TODO: PLAT-6909 handle BOOL columns as boolean
assertEquals((short) 1, after.get("boolColumn"));
assertEquals((short) 1, after.get("booleanColumn"));
// TODO: PLAT-6910 BIT type is returned in reversed order
assertArrayEquals("hgfedcba".getBytes(), (byte[]) after.get("bitColumn"));
assertArrayEquals("abcdefgh".getBytes(), (byte[]) after.get("bitColumn"));
assertEquals((short) -128, after.get("tinyintColumn"));
assertEquals(-8388608, after.get("mediumintColumn"));
assertEquals((short) -32768, after.get("smallintColumn"));
Expand Down

0 comments on commit 173cf7e

Please sign in to comment.