From 173cf7ef43d7290c3a91aca6353c9b0fda696754 Mon Sep 17 00:00:00 2001 From: AdalbertMemSQL Date: Mon, 28 Oct 2024 11:46:43 +0200 Subject: [PATCH] Fixed BIT type (#59) --- pom.xml | 2 +- src/test/java/com/singlestore/debezium/StreamingIT.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 2cd24ee..bf3bf56 100644 --- a/pom.xml +++ b/pom.xml @@ -385,7 +385,7 @@ 1.4.14 3.0.0 2.0.4 - 1.2.0 + 1.2.5 1.19.3 diff --git a/src/test/java/com/singlestore/debezium/StreamingIT.java b/src/test/java/com/singlestore/debezium/StreamingIT.java index a267b54..6c17525 100644 --- a/src/test/java/com/singlestore/debezium/StreamingIT.java +++ b/src/test/java/com/singlestore/debezium/StreamingIT.java @@ -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"));