virajjasani commented on code in PR #1965:
URL: https://github.com/apache/phoenix/pull/1965#discussion_r1766181500


##########
phoenix-core-server/src/main/java/org/apache/phoenix/coprocessor/CDCGlobalIndexRegionScanner.java:
##########
@@ -257,7 +252,7 @@ private Object getColumnValue(Cell cell, PDataType 
dataType) {
 
     private Object getColumnValue(byte[] cellValue, int offset, int length, 
PDataType dataType) {
         Object value;
-        if (dataType.getSqlType() == Types.BINARY) {
+        if (CDCUtil.isBinaryType(dataType)) {

Review Comment:
   Oh i missed that it was Types.BINARY which anyways apply to them, i think i 
misunderstood earlier that we only had Binary datatype, and not VARBINARY.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to