Closed LucasMMota closed 3 years ago
When using the method get_partition_values_from_table with non-partitioned tables we get an exception:
get_partition_values_from_table
thrift.transport.TTransport.TTransportException: TSocket read 0 bytes
We decided to handle this as an empty return, once the table does not have partitions.
modify method get_partition_values_from_table handle to handle the Exception
Unit + testing with Hive Metastore Server
Replace me for what the reviewer will need to pay attention to in the PR or just to cover any concerns after the merge.
Kudos, SonarCloud Quality Gate passed!
0 Bugs 0 Vulnerabilities 0 Security Hotspots 0 Code Smells
No Coverage information 0.0% Duplication
Why? :open_book:
When using the method
get_partition_values_from_table
with non-partitioned tables we get an exception:We decided to handle this as an empty return, once the table does not have partitions.
What? :wrench:
modify method
get_partition_values_from_table
handle to handle the ExceptionType of change :file_cabinet:
How everything was tested? :straight_ruler:
Unit + testing with Hive Metastore Server
Checklist :memo:
Attention Points :warning:
Replace me for what the reviewer will need to pay attention to in the PR or just to cover any concerns after the merge.