Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance assertQuery to support actual and expected session parameters. #17626

Merged
merged 1 commit into from
Apr 12, 2022

Conversation

amitkdutta
Copy link
Contributor

@amitkdutta amitkdutta commented Apr 11, 2022

Adding support to pass different session properties for assertQuery function. This is particularly useful when we want to test a query result with different session config. One example is native worker supports merge join, and we want to validate merge join's result in a test with other join. This PR will allow us to write such tests.

@mbasmanova mbasmanova changed the title Enhance assertQuery to supoprt actual and expected session parameters. Enhance assertQuery to support actual and expected session parameters. Apr 11, 2022
Copy link
Contributor

@mbasmanova mbasmanova left a comment

Choose a reason for hiding this comment

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

@amitkdutta Looks good % typo in commit message: supoprt -> support

Copy link
Contributor

@yuanzhanhku yuanzhanhku left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks Amit for making this change.

@mbasmanova
Copy link
Contributor

@amitkdutta Amit, would you fix typo in the commit message so we can merge this?

Copy link
Contributor

@tdcmeehan tdcmeehan left a comment

Choose a reason for hiding this comment

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

LGTM % the typo in the commit message

@mbasmanova mbasmanova merged commit 4bf475f into prestodb:master Apr 12, 2022
@mshang816 mshang816 mentioned this pull request May 17, 2022
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants