shiyancao commented on issue #2039: URL: https://github.com/apache/iceberg/issues/2039#issuecomment-1087920058
We hit similar issues when converting between Avro Schema and Iceberg Schema due to lack of default value support. In our case, a default-empty-array array in Avro schema is treated **optional** in Avro but treated inconsistently in Iceberg when adding the column: 1) In catalog.createTable() API, it will create it as a **required** column in Iceberg table. This is inconsistent to Avro. 2) In catalog.updateSchema() API, the field will be added as **optional** in Iceberg table. Questions: 1) Will the current work of adding default value support solve our issue? 2) What is a reasonable estimate of when this is available? -- 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]
