shiramax opened a new issue, #3084:
URL: https://github.com/apache/iceberg-python/issues/3084
### Apache Iceberg version
0.10.0 (latest release)
### Please describe the bug 🐞
Hi,
When creating a v3 table, and creating a column with default_value=None it
produces the same result as not providing a default:
for example:
with table.update_schema() as update:
update.add_column("col_with_none", StringType(), required=False,
default_value=None)
update.add_column("col_without_default", StringType(), required=False)
In both cases, the columns end up with write_default=None,
However, I was expecting that when property is not set, the `write_default`
property should not exist at all.
### Willingness to contribute
- [x] I can contribute a fix for this bug independently
- [ ] I would be willing to contribute a fix for this bug with guidance from
the Iceberg community
- [ ] I cannot contribute a fix for this bug at this time
--
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]