InvisibleProgrammer opened a new pull request, #6219: URL: https://github.com/apache/hive/pull/6219
Added some performance optimization for the previous solution: https://github.com/apache/hive/pull/6203 ### What changes were proposed in this pull request? Explicit lowering the casing for the ACID metadata in ORC files during the check. ### Why are the changes needed? Used equalsIgnoreCase before. It doesn't use hash code. And also, in its implementation, it converts all the characters uppercase - so if the casing change still happens, it is better if we lowercase the input and do the lower casing so that string comparison can use hash codes. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? By running the existing test cases: `mvn -pl ql test -Dtest=TestFixAcidKeyIndex` -- 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]
