lliangyu-lin commented on issue #12441:
URL: https://github.com/apache/iceberg/issues/12441#issuecomment-2741740243

   I wasn't able to reproduce the issue...
   Reproduction step I tried
   * Create schema with required `id` and optional `school`(with required 
`year` and optional `details`) columns
   ```
   Schema schema = new Schema(
       required(1, "id", Types.LongType.get()),
       optional(2, "school", Types.StructType.of(
           required(3, "year", Types.IntegerType.get()),
           optional(4, "details", Types.StringType.get())
       ))
   );
   ```
   * Create HadoopTables with the Schema
   * Create records with combination of empty `school` column and `school` 
column with empty `details`.
   * Using Table `newAppend` API to add the parquet files with above records to 
the table
   * Run `IcebergGenerics.read(table).build()` to check the records
   
   Could you share more details on how the table is created and how data is 
added to the table? It's possible the issue is happening on write side.


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to