zhangpenggh opened a new issue, #9820:
URL: https://github.com/apache/iceberg/issues/9820

   ### Apache Iceberg version
   
   1.4.3 (latest release)
   
   ### Query engine
   
   Spark
   
   ### Please describe the bug 🐞
   
   I created an Iceberg table, wrote data into it using Flink, and when 
querying with Spark, I encountered the following error: 
   
   
org.apache.iceberg.shaded.org.apache.arrow.vector.util.OversizedAllocationException:
 Memory required for vector is (2147483648), which is overflow or more than max 
allowed (2147483647). You could consider using 
LargeVarCharVector/LargeVarBinaryVector for large strings/large bytes typesat 
org.apache.iceberg.shaded.org.apache.arrow.vector.BaseVariableWidthVector.checkDataBufferSize(BaseVariableWidthVector.java:435)at
 
org.apache.iceberg.shaded.org.apache.arrow.vector.BaseVariableWidthVector.reallocDataBuffer(BaseVariableWidthVector.java:542)at
 
org.apache.iceberg.shaded.org.apache.arrow.vector.BaseVariableWidthVector.handleSafe(BaseVariableWidthVector.java:1278)at
 
org.apache.iceberg.shaded.org.apache.arrow.vector.BaseVariableWidthVector.setValueLengthSafe(BaseVariableWidthVector.java:989)at
 
org.apache.iceberg.arrow.vectorized.parquet.VectorizedParquetDefinitionLevelReader$VarWidthReader.nextVal(VectorizedParquetDefinitionLevelReader.java:615)at
 org.apache.iceberg.arrow.vectorized.parq
 uet.VectorizedParquetDefinitionLevelReader$BaseRead


-- 
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: issues-unsubscr...@iceberg.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to