Skip to content

Support result in LoggingInvocationHandler#14935

Merged
kokosing merged 1 commit intotrinodb:masterfrom
nevillelyh:neville/invocation-handler
Nov 9, 2022
Merged

Support result in LoggingInvocationHandler#14935
kokosing merged 1 commit intotrinodb:masterfrom
nevillelyh:neville/invocation-handler

Conversation

@nevillelyh
Copy link
Copy Markdown
Member

Description

Support method returned value in LoggingInvocationHandler.

Non-technical explanation

Release notes

(x) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Nov 7, 2022
@nevillelyh nevillelyh requested a review from kokosing November 7, 2022 14:46
Copy link
Copy Markdown
Member

@kokosing kokosing left a comment

Choose a reason for hiding this comment

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

% comment

@kokosing
Copy link
Copy Markdown
Member

kokosing commented Nov 7, 2022

Is there any places where we leverage this? Maybe there are some interfaces that return simple objects like access controls.

@kokosing
Copy link
Copy Markdown
Member

kokosing commented Nov 7, 2022

FYI @findepi

@nevillelyh nevillelyh force-pushed the neville/invocation-handler branch from cc3721d to 23be30b Compare November 7, 2022 15:50
@nevillelyh
Copy link
Copy Markdown
Member Author

It's used by 3 classes only.

  • AccessControl - all methods return void and throw exceptions on access denied
  • JdbcClient - results can be large like list of columns
  • ThriftHiveMetastore.Iface - large results similar to JdbcClient

@nevillelyh nevillelyh force-pushed the neville/invocation-handler branch from 23be30b to 3c14288 Compare November 7, 2022 18:44
@kokosing kokosing merged commit 0bc22f3 into trinodb:master Nov 9, 2022
@kokosing
Copy link
Copy Markdown
Member

kokosing commented Nov 9, 2022

Merged, thanks!

@github-actions github-actions bot added this to the 403 milestone Nov 9, 2022
@nevillelyh nevillelyh deleted the neville/invocation-handler branch February 9, 2023 16:19
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.

2 participants