Skip to content

Conversation

@dain
Copy link
Member

@dain dain commented Aug 10, 2022

Documentation

(X) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.

Release notes

( ) No release notes entries required.
(X) Release notes entries required with the following suggested text:

# Hive
* Reduce Thrift Metastore communication overhead when impersonation is enabled. ({issue}`13606`)

@cla-bot cla-bot bot added the cla-signed label Aug 10, 2022
private final AtomicInteger chosenTableParamAlternative = new AtomicInteger(Integer.MAX_VALUE);
private final AtomicInteger chosesGetAllViewsAlternative = new AtomicInteger(Integer.MAX_VALUE);

private final AtomicReference<Optional<Boolean>> metastoreSupportsDateStatistics = new AtomicReference<>(Optional.empty());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to move chosenGetTableAlternative, chosenTableParamAlternative and chosesGetAllViewsAlternative as well

@guyco33
Copy link
Member

guyco33 commented Aug 11, 2022

I approve that metastoreSupportsDateStatistics behaves similar as 387 (#13502)

@findepi
Copy link
Member

findepi commented Aug 11, 2022

(X) No release notes entries required.

I think this should reduce metastore communication overhead and number of calls made to it.

@findepi findepi closed this Aug 11, 2022
@findepi findepi reopened this Aug 11, 2022
@dain
Copy link
Member Author

dain commented Aug 12, 2022

We're going to go with the alternate implementation in #13610

@dain dain closed this Aug 12, 2022
@dain dain deleted the hive-thrift-metastore-date-stats branch August 12, 2022 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants