fresh-borzoni opened a new issue, #2988: URL: https://github.com/apache/fluss/issues/2988
### Search before asking - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and found nothing similar. ### Fluss version 0.9.0 (latest release) ### Please describe the bug 🐞 After ADD COLUMN, partial updates on existing rows crash with ArrayIndexOutOfBoundsException. ThePartialUpdater is created with the latest schema (4 fields) but reads old rows from RocksDB that were stored with the previous schema (3 fields). At field index 3, GenericRow.fields[3] throws on a 3-element array. Reproduce: insert a row, ADD COLUMN, partial update the same row - crash. ### Solution Use column IDs to align rows to the latest schema before the merger sees them ### Are you willing to submit a PR? - [x] I'm willing to submit a PR! -- 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]
