Closed brenoarosa closed 3 years ago
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
1 Code Smell
No Coverage information
0.0% Duplication
You can remove the Attention Points warning if it's not relevant in this PR
Nice catch. It LGTM.
Just a doubt, you said in PR's description that "It also caused exceptions on the Hive Metastore.", but it didn't, right? Since the exceptions were being caught by line 384.
This is how we found the issue. While the exception was caught on this client there was a connected unhandled exception on the Hive Mestastore server.
Why? :open_book:
Code on
get_partition_values_from_table
was catch a too general exception unnecessarily. It also caused exceptions on the Hive Metastore.What? :wrench:
Replaces a try-catch statement to an if.
Type of change :file_cabinet:
How everything was tested? :straight_ruler:
Checklist :memo: