quintoandar / hive-metastore-client

A client for connecting and running DDLs on hive metastore.
Apache License 2.0
52 stars 15 forks source link

[DAE-113] Changing max_parts from get_partitions method to int32 #45

Closed felipemiquelim closed 3 years ago

felipemiquelim commented 3 years ago

Why? :open_book:

The max_parts parameter from get_partitions method was limiting our querying to 32k partitions.

What? :wrench:

Adjusting max_parts parameter from get_partitions method to handle 64k values.

Type of change :file_cabinet:

How everything was tested? :straight_ruler:

Executed method get_partitions with the parameter as the new type and it allowed 60k as max_parts and returned the expected result.

Checklist :memo:

felipemiquelim commented 3 years ago

My concern about changing these source files is that some update of the Thrift auto-generated code will overwrite this. Since we don't have another option better than this, I think we should have the changes like this one mapped somewhere so we can check after updating the thrift_files/*.

I can think of something like a checklist for updating the library inside the dir thrift_files/ or inside the readme. We can add the link of the PRs like this one that updates the library sources.

@LucasMMota - It makes total sense :bulb: , I will create the structure on a diff PR and link each other.

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information