-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed as not planned
Labels
Description
Apache Iceberg version
0.14.0
Query engine
None
Please describe the bug 🐞
I am using Vectorized read from Java API and able to load the data from Vectorized root from iceberg batches to arrow.
Some of the records I am not able to build in Arrow cache as the schema return are different
VectorizedTableScanIterable iter = new VectorizedTableScanIterable(filteredScan, batchSize, false);) {
for (ColumnarBatch batch : iter) {
VectorSchemaRoot batchRoot = batch.createVectorSchemaRootFromVectors();
batchRoot schema are returned different for a given table.
Do we type cast the results to adhere to actual schema of Iceberg when we read the base files returned by the read?