ygerzhedovich commented on code in PR #5784:
URL: https://github.com/apache/ignite-3/pull/5784#discussion_r2079672237


##########
modules/jdbc/src/main/java/org/apache/ignite/internal/jdbc/JdbcResultSet.java:
##########
@@ -385,9 +387,14 @@ public boolean wasNull() throws SQLException {
     /** {@inheritDoc} */
     @Override
     public String getString(int colIdx) throws SQLException {
-        Object val = getValue(colIdx);
-
-        return val == null ? null : String.valueOf(val);
+        Object val = getJdbcValue(colIdx);
+        if (val == null) {
+            return null;
+        } else if (val instanceof byte[]) {
+            return StringUtils.toHexString((byte[]) val);

Review Comment:
   I think will be better to have some limit on generated string here



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to