This article explains why a java.io.EOFException may occur when querying Vertica using JDBC. The error is typically caused by exceeding the maximum allowed size for a VARCHAR column function output.
Environment
- Vertica Database
- JDBC driver
- Column functions returning large text values
- Spark or other JDBC-based clients
Situation
A query failed with the following error:
java.io.EOFException
This occurred while attempting to retrieve large text output from a column function using the Vertica JDBC driver.