ArnavBalyan opened a new pull request, #7824:
URL: https://github.com/apache/paimon/pull/7824
### Purpose
- Insert into static partition against a Hive managed table fails with
`ArrayIndexOutOfBoundsException` in `TableWriteImpl.checkNullability`.
- This is because Hive sends data rows without the static partition columns
and instead passes their values in `path`/`partition_columns` serde property.
- PaimonOutputFormat.getHiveRecordWriter does not respect these properties,
and row arrives incomplete.
- Read the partition column names, parse the values and wrap the writer
which is aware of the extra properies and can construct the row properly.
- Closes user reported bug #7064.
### Tests
- UT
--
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]