RussellSpitzer commented on issue #8269: URL: https://github.com/apache/iceberg/issues/8269#issuecomment-1671414514
Added more details, I would say the bug could be that we should throw an error if you use unpartitioned writer with a partitioned spec. I believe previously this was allowed because V1 Iceberg tables don't ever remove spec fields, they just get changed to void transforms and for a while our code had some very specific wonky logic around that sometimes. You basically could have unpartitioned spec <Void> and unpartitioned spec <void, Void> and so on. I think this may be an artifact of that. Now we have a safe "isUnpartitioned" function so we could just put that as a perquisite in the Unpartitioned writer. -- 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]
