kevinjqliu commented on issue #1255:
URL:
https://github.com/apache/iceberg-python/issues/1255#issuecomment-2442984949
In your example, the second row is
```
{
"string_field_1": "field_1_b",
},
```
which corresponds with `string_field_1`
```
pa.field("string_field_1", pa.string(), True),
```
and not with `struct_field_1`
```
pa.field(
"struct_field_1",
pa.struct(
[
pa.field("string_nested_1", pa.string()),
pa.field("int_item_2", pa.int32()),
pa.field("float_item_2", pa.float32()),
]
),
),
```
So the Athena result contains `field_1_b` because its written to the
`string_field_1` column
--
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]