virajjasani commented on code in PR #2209: URL: https://github.com/apache/phoenix/pull/2209#discussion_r2183376694
########## phoenix-core-client/src/main/java/org/apache/phoenix/util/CDCUtil.java: ########## @@ -152,7 +171,7 @@ public static int compareCellFamilyAndQualifier(byte[] columnFamily1, public static Object getColumnEncodedValue(Object value, PDataType dataType) { if (value != null) { if (dataType.getSqlType() == PDataType.BSON_TYPE) { - value = Bytes.toBytes(((RawBsonDocument) value).getByteBuffer().asNIO()); + value = ByteUtil.toBytes(((RawBsonDocument) value).getByteBuffer().asNIO()); Review Comment: In addition to https://github.com/apache/phoenix/pull/2162 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@phoenix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org