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

Add support for aggregation fuzzer to call Presto java and setup CI run. #7947

Closed
wants to merge 1 commit into from

Conversation

kgpai
Copy link
Contributor

@kgpai kgpai commented Dec 9, 2023

This PR:

  1. Sets up Aggregation Fuzzer to call Presto Java
  2. Sets up an experimental scheduled run for the agg fuzzer.

Copy link

netlify bot commented Dec 9, 2023

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 2824b40
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/659d8b4837e396000790c84a

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 9, 2023
@@ -43,6 +44,11 @@ DEFINE_string(
"this comma separated list of function names "
"(e.g: --only \"min\" or --only \"sum,avg\").");

DEFINE_string(
prestoCoordinatorUri,
Copy link
Contributor

Choose a reason for hiding this comment

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

consistency: presto_url (let's not include coordinator as it makes it very long)

DEFINE_string(
prestoCoordinatorUri,
"",
"Presto coordinator Uri, along with port. If this is set we");
Copy link
Contributor

Choose a reason for hiding this comment

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

Unfinished sentence. Please, include an example.

"kurtosis",
"entropy",
});
std::unique_ptr<facebook::velox::exec::test::ReferenceQueryRunner> runner;
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: perhaps, extract the logic of createing a query runner into a helper function

auto queryRunner = setupReferenceQueryRunner();

- name: Upload spark fuzzer
uses: actions/upload-artifact@v3
with:
name: spark
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need Spark here?

name: aggregation
path: velox/_build/debug/velox/exec/tests/velox_aggregation_fuzzer_test

- name: Upload join fuzzer
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need join fuzzer? Let's remove unnecessary steps.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

nit: These arent steps perse and arent run, this can be invoked when we are running join fuzzer to upload the fuzzer artifacts. I added these because I think we will be using exprimental for future experimental flags for all these jobs. However I will remove it since consensus is to only add when being used.

Copy link
Collaborator

Choose a reason for hiding this comment

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

for future reference you can disable steps by adding if: false to it, useful for testing and such ^^

@facebook-github-bot
Copy link
Contributor

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

DEFINE_string(
presto_url,
"",
"Presto coordinator Uri, along with port. If this is set we use Presto "
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Presto coordinator URI along with port. If set, use Presto as source of truth. Otherwise, use DuckDB. Example: --presto_url=http://127.0.0.1:8080

with:
name: aggregation

- name: "Run Aggregate Fuzzer"
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Run Aggregate Fuzzer using Presto as source of truth

Do you have a link to a sample job run? Curious if it succeeded or failed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I ran it locally - Will come up with a job run on CI shortly.

@facebook-github-bot
Copy link
Contributor

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

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.

Thanks.

@facebook-github-bot
Copy link
Contributor

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

Copy link
Collaborator

@assignUser assignUser 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 build is failing at compile but I think that can be solved via rebase) When this has run for a bit and proven useful we can integrate it into scheduled.yml, if there is a reason for separate runs we could integrate it and just run at a different time.

…un. (facebookincubator#7947)

Summary:
This PR:
1. Sets up Aggregation Fuzzer to call Presto Java 
2. Sets up an experimental scheduled run for the agg fuzzer.


Reviewed By: mbasmanova

Differential Revision: D52040998

Pulled By: kgpai
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52040998

@facebook-github-bot
Copy link
Contributor

@kgpai merged this pull request in fd920aa.

liujiayi771 pushed a commit to liujiayi771/velox that referenced this pull request Jan 16, 2024
…un. (facebookincubator#7947)

Summary:
This PR:
1. Sets up Aggregation Fuzzer to call Presto Java
2. Sets up an experimental scheduled run for the agg fuzzer.

Pull Request resolved: facebookincubator#7947

Reviewed By: mbasmanova

Differential Revision: D52040998

Pulled By: kgpai

fbshipit-source-id: 020282eef5f2c950c000cebed388fb160aba726b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants