sashapolo commented on a change in pull request #468:
URL: https://github.com/apache/ignite-3/pull/468#discussion_r766929590
##########
File path:
modules/schema/src/main/java/org/apache/ignite/internal/schema/ByteBufferRow.java
##########
@@ -137,7 +137,11 @@ public double readDouble(int off) {
/** {@inheritDoc} */
@Override
public String readString(int off, int len) {
- return new String(buf.array(), off, len, StandardCharsets.UTF_8);
+ if (buf.hasArray()) {
+ return new String(buf.array(), off, len, StandardCharsets.UTF_8);
Review comment:
no, it won't
--
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]