VenkatSNarayanan opened a new pull request, #5591: URL: https://github.com/apache/hive/pull/5591
Adds support for custom partitioning patterns to MSCK repair table. ### What changes were proposed in this pull request? Adds support for custom partitioning patterns to MSCK repair table. ### Why are the changes needed? HCatStorer supports custom partitioning patterns when using dynamic partitioning, but Hive itself does not support this. This change adds support for non-pathological cases to Hive. ### Does this PR introduce _any_ user-facing change? MSCK repair table with a configured custom partition pattern would previously ignore that pattern and error on finding nonstandard paths. With the code from this PR, it will respect the defined custom pattern when it extracts partition key values from the paths. ### Is the change a dependency upgrade? No ### How was this patch tested? A test was added to TestHiveMetastoreChecker to test the common kinds of custom patterns supported. -- 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]
