Skip to content

[native] Add a sample plan validator and e2e tests.#23439

Merged
amitkdutta merged 1 commit intoprestodb:masterfrom
amitkdutta:dummy_test
Aug 21, 2024
Merged

[native] Add a sample plan validator and e2e tests.#23439
amitkdutta merged 1 commit intoprestodb:masterfrom
amitkdutta:dummy_test

Conversation

@amitkdutta
Copy link
Copy Markdown
Contributor

@amitkdutta amitkdutta commented Aug 13, 2024

Description

This PR adds a sample validator in worker that fails if plan has nested loop join. We also address comments around naming as in #23423 (comment)

Motivation and Context

Adding a sample validaotr shows how the validation interface can used.

Impact

None

Test Plan

E2E tests

== NO RELEASE NOTE ==

@amitkdutta amitkdutta requested a review from a team as a code owner August 13, 2024 23:36
@amitkdutta amitkdutta marked this pull request as draft August 13, 2024 23:37
@aditi-pandit
Copy link
Copy Markdown
Contributor

@amitkdutta @pedroerp : Cross posting my comment #23423 (comment) for a sample plan validator.

@amitkdutta amitkdutta force-pushed the dummy_test branch 10 times, most recently from 484acc5 to d794878 Compare August 20, 2024 23:31
@facebook-github-bot
Copy link
Copy Markdown
Collaborator

@amitkdutta has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@amitkdutta amitkdutta force-pushed the dummy_test branch 3 times, most recently from e437b57 to 8d89141 Compare August 21, 2024 02:52
Copy link
Copy Markdown
Contributor

@xiaoxmeng xiaoxmeng left a comment

Choose a reason for hiding this comment

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

@amitkdutta LGTM. Thanks!

@amitkdutta amitkdutta force-pushed the dummy_test branch 2 times, most recently from c9c20d8 to a72b7ad Compare August 21, 2024 04:21
@amitkdutta amitkdutta changed the title [native][WIP] Sample plan validator wip. [native] Sample plan validator wip. Aug 21, 2024
@amitkdutta amitkdutta marked this pull request as ready for review August 21, 2024 04:25
@amitkdutta amitkdutta requested a review from xiaoxmeng August 21, 2024 04:29
@amitkdutta amitkdutta changed the title [native] Sample plan validator wip. [native] Add a sample plan validator and e2e tests. Aug 21, 2024
xiaoxmeng
xiaoxmeng previously approved these changes Aug 21, 2024
Copy link
Copy Markdown
Contributor

@xiaoxmeng xiaoxmeng left a comment

Choose a reason for hiding this comment

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

@amitkdutta LGTM % nits.

@amitkdutta amitkdutta merged commit 7cb9526 into prestodb:master Aug 21, 2024
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