velox
velox copied to clipboard
Add Presto inverse_laplace_cdf function
Resolves https://github.com/facebookincubator/velox/issues/5541 This is a followup for https://github.com/facebookincubator/velox/pull/5543
Deploy Preview for meta-velox canceled.
| Name | Link |
|---|---|
| Latest commit | bf6340a150ff06c7fda0faa98075d9f278cb744d |
| Latest deploy log | https://app.netlify.com/sites/meta-velox/deploys/6692b0d1ee35e50008a63bc4 |
@wills-feng : Please can you also give the fuzzer output for this function.
@aditi-pandit I rewrote the function and tests. Also posted the fuzzer tests below, could you please help review, thanks.
I20240422 11:30:06.057255 28557681 ExpressionFuzzerVerifier.cpp:367] ==============================> Done with iteration 168281
I20240422 11:30:06.057325 28557681 ExpressionFuzzerVerifier.cpp:164] ==============================> Top 1 by number of rows processed
I20240422 11:30:06.057338 28557681 ExpressionFuzzerVerifier.cpp:166] Format: functionName numTimesSelected proportionOfTimesSelected numProcessedRows
I20240422 11:30:06.057350 28557681 ExpressionFuzzerVerifier.cpp:170] inverse_laplace_cdf 3813524 100.00% 3941527
I20240422 11:30:06.057366 28557681 ExpressionFuzzerVerifier.cpp:176] ==============================> Bottom 1 by number of rows processed
I20240422 11:30:06.057379 28557681 ExpressionFuzzerVerifier.cpp:178] Format: functionName numTimesSelected proportionOfTimesSelected numProcessedRows
I20240422 11:30:06.057392 28557681 ExpressionFuzzerVerifier.cpp:183] inverse_laplace_cdf 3813524 100.00% 3941527
I20240422 11:30:06.057405 28557681 ExpressionFuzzerVerifier.cpp:196] ==============================> All stats sorted by number of times the function was chosen
I20240422 11:30:06.057418 28557681 ExpressionFuzzerVerifier.cpp:198] Format: functionName numTimesSelected proportionOfTimesSelected numProcessedRows
I20240422 11:30:06.057430 28557681 ExpressionFuzzerVerifier.cpp:202] inverse_laplace_cdf 3813524 100.00% 3941527
E20240422 11:30:06.057442 28557681 ExpressionFuzzerVerifier.cpp:373] Total iterations: 168282
E20240422 11:30:06.057454 28557681 ExpressionFuzzerVerifier.cpp:374] Total failed: 10924
[==========] Running 0 tests from 0 test suites.
[==========] 0 tests from 0 test suites ran. (0 ms total)
[ PASSED ] 0 tests.
@kagamiori, @Yuhta, @kgpai : Please can you help with review and merge.
These are old PRs pending on Jimmy's fix in the Boost library.
There are 3 probability functions PRs are waiting for merge. I have rebased https://github.com/facebookincubator/velox/pull/9492, once it gets merged, I will rebase this one.
Once https://github.com/facebookincubator/velox/pull/9494 gets merged, I'll rebase this one.
@wills-feng #9494 was merged.
@pedroerp rebased and CI passed.
@pedroerp has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@pedroerp merged this pull request in facebookincubator/velox@0adc62e3aaf647596ab476f6300a4165e60f6b91.
Conbench analyzed the 1 benchmark run on commit 0adc62e3.
There were no benchmark performance regressions. 🎉
The full Conbench report has more details.