liucongjy commented on PR #12659: URL: https://github.com/apache/hudi/pull/12659#issuecomment-2606499006
> > data must be written into the Hudi table before querying will not throw an error indicating that the added fields do not exist. > > make sure schema evolution is enabled, `hoodie.schema.on.read.enable = true`, otherwise alter cmd do not commit table change in hudi. When creating the Hudi table, add the attribute hoodie.schema.on.read.enable = true. The modified code can resolve the previous issue. However, another problem has emerged: the new field values queried by hive sql are out of sync with the partition field values, resulting in the new field values being displayed as the partition field values <img width="321" alt="image" src="https://github.com/user-attachments/assets/35df3a1f-6e96-40c4-85b8-6bf8ee6ff8b0" /> -- 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]
