Big result set are not serialized using Postgres wrapper (original) (raw)
ArcadeDB Version:
24.11.2
OS and JDK Version:
ALL
Expected behavior
A big result set is serialized and sent back to client using the Postgres Plugin (via JDBC in Java or dedicated drivers in other languages)
Actual behavior
In case of a big result set, on the client : Error: "Error on executing query: null"
On the server, after debugging:
(thread=51)java.nio.BufferOverflowException at java.base/java.nio.HeapByteBuffer.put(HeapByteBuffer.java:231) at java.base/java.nio.ByteBuffer.put(ByteBuffer.java:1210) at com.arcadedb.postgres.PostgresType.serializeAsText(PostgresType.java:125) at com.arcadedb.postgres.PostgresNetworkExecutor.writeDataRows(PostgresNetworkExecutor.java:550) at com.arcadedb.postgres.PostgresNetworkExecutor.executeCommand(PostgresNetworkExecutor.java:323) at com.arcadedb.postgres.PostgresNetworkExecutor.lambda$run$4(PostgresNetworkExecutor.java:168) at com.arcadedb.postgres.PostgresNetworkExecutor.readMessage(PostgresNetworkExecutor.java:1059) at com.arcadedb.postgres.PostgresNetworkExecutor.run(PostgresNetworkExecutor.java:162)