velox
velox copied to clipboard
Adding long decimal support for arbitrary() function
Delivers https://github.com/facebookincubator/velox/issues/7311
Deploy Preview for meta-velox ready!
Name | Link |
---|---|
Latest commit | be7a9ee84710a53d9f2b1ebb7cf56c231f8a2301 |
Latest deploy log | https://app.netlify.com/sites/meta-velox/deploys/661833857c78c7000827c223 |
Deploy Preview | https://deploy-preview-9217--meta-velox.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
@aditi-pandit Here is the result for the aggregation fuzzer test for arbitrary():
I ran _build/debug/velox/functions/prestosql/fuzzer/velox_aggregation_fuzzer_test --seed 123456 --duration_sec 60 --logtostderr=1 --minloglevel=0 --only arbitrary --v=1 2>&1 | tee agg_fuzzer_test_arbitrary.out
I can provide the whole output file if needed.
I20240327 10:43:07.766820 4177649 AggregationFuzzer.cpp:453] ==============================> Done with iteration 22
I20240327 10:43:07.766849 4177649 AggregationFuzzer.cpp:992] Total masked aggregations: 3 (13.04%)
I20240327 10:43:07.766871 4177649 AggregationFuzzer.cpp:994] Total global aggregations: 0 (0.00%)
I20240327 10:43:07.766885 4177649 AggregationFuzzer.cpp:996] Total group-by aggregations: 20 (86.96%)
I20240327 10:43:07.766901 4177649 AggregationFuzzer.cpp:998] Total distinct aggregations: 3 (13.04%)
I20240327 10:43:07.766918 4177649 AggregationFuzzer.cpp:1000] Total aggregations over distinct inputs: 3 (13.04%)
I20240327 10:43:07.766933 4177649 AggregationFuzzer.cpp:1002] Total window expressions: 0 (0.00%)
I20240327 10:43:07.766947 4177649 AggregationFuzzerBase.cpp:557] Total functions tested: 1
I20240327 10:43:07.766960 4177649 AggregationFuzzerBase.cpp:558] Total iterations requiring sorted inputs: 3 (13.04%)
I20240327 10:43:07.766974 4177649 AggregationFuzzerBase.cpp:560] Total iterations verified against reference DB: 4 (17.39%)
I20240327 10:43:07.766988 4177649 AggregationFuzzerBase.cpp:562] Total functions not verified (verification skipped / not supported by reference DB / reference DB failed): 17 (73.91%) / 2 (8.70%) / 0 (0.00%)
I20240327 10:43:07.767002 4177649 AggregationFuzzerBase.cpp:567] Total failed functions: 0 (0.00%)
[==========] Running 0 tests from 0 test suites.
[==========] 0 tests from 0 test suites ran. (0 ms total)
[ PASSED ] 0 tests.
@Yuhta @kagamiori : Please can you help with review and merge.
@karteekmurthys Thank you for identifying the test failure above! I was wondering how the switch to aligned memory allocator should be approached or implemented?
Would it be similar to what you have in your PR from here? https://github.com/facebookincubator/velox/pull/8723/files#diff-5091b1dd8232c357067be47fb0e751772f91a0aa12dea5db835a2d4ae296a63cR93
@karteekmurthys Thank you for identifying the test failure above! I was wondering how the switch to aligned memory allocator should be approached or implemented?
Would it be similar to what you have in your PR from here? https://github.com/facebookincubator/velox/pull/8723/files#diff-5091b1dd8232c357067be47fb0e751772f91a0aa12dea5db835a2d4ae296a63cR93
Yes. likely. Please try it.
@minhancao would you please try overriding this method:
int32_t accumulatorAlignmentSize() const override {
return static_cast<int32_t>(sizeof(int128_t));
}
@karteekmurthys I have implemented the change above, how do I get the linux CircleCI test to run on this PR?
@kagamiori would you please review this.
@Yuhta would you please help with the review.
Hi @kagamiori @Yuhta , can you review this PR when you can please? Thanks!
@kagamiori has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@kagamiori merged this pull request in facebookincubator/velox@84acb4c8d4bdf6f4dc74bfc22181852523a320f3.
Conbench analyzed the 1 benchmark run on commit 84acb4c8
.
There were no benchmark performance regressions. 🎉
The full Conbench report has more details.