Shekharrajak commented on PR #2423:
URL: https://github.com/apache/iceberg-rust/pull/2423#issuecomment-4443348434
Final plan:
```
1. Comet calls iceberg::arrow::ArrowReaderBuilder.build()
2. iceberg-rust loads Iceberg schema → Schema{id, payload: Variant}
3. iceberg-rust calls schema_to_arrow_schema(schema)
4. The PrimitiveType::Variant arm now returns:
Field { Struct{metadata, value}, ext: "arrow.parquet.variant" }
5. ArrowReaderBuilder builds successfully
6. Parquet reader uses this Arrow schema for projection
7. RecordBatches flow back to Comet
8. Comet's downstream Variant handling fires (because the marker survived)
9. Native Comet execution
``
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]