cnauroth opened a new pull request, #3898: URL: https://github.com/apache/hive/pull/3898
### What changes were proposed in this pull request? HIVE-26892: Backport [HIVE-25243](https://issues.apache.org/jira/browse/HIVE-25243) to 3.2.0: Handle nested values in null struct. This differs from the original patch as follows: * There are no changes in `TestJdbcWithMiniLlapVectorArrow`. This file does not exist in branch-3. The original patch was only a whitespace change though. * I have not included the new test suite `TestMiniLlapVectorArrowWithLlapIODisabled`. This test suite depends on an additional feature that is only present in master: [HIVE-20300](https://issues.apache.org/jira/browse/HIVE-20300) / https://github.com/apache/hive/commit/a8ef2147fad5aeaaf01279230da9c584db6a2337. This is a fairly large patch that I have not chosen to try backporting at this time. ### Why are the changes needed? On branch-3, we've seen a failure in `TestArrowColumnarBatchSerDe` while trying to serialize a row of null values. It fails while trying to serialize the fields of a null struct. This was fixed in 4.0 by [HIVE-25243](https://issues.apache.org/jira/browse/HIVE-25243). This issue tracks a backport to branch-3. ### Does this PR introduce _any_ user-facing change? Null structs are now serialized to Arrow format correctly without error. ### How was this patch tested? Unfortunately, we are left with no specific new tests as part of this backport. However, I applied this patch locally in combination with [HIVE-26840](https://issues.apache.org/jira/browse/HIVE-26840) / #3859. After that, all tests in `TestArrowColumnarBatchSerDe` are passing. -- 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]
