You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Velox expression fuzzer test generates random expressions and evaluates them in Velox with random input data. It has been a powerful tool for detecting bugs in the Velox expression evaluator and scalar functions. There is an ongoing extension to this test to verify the Velox expression results against Presto’s.
Test Setup
Below are the steps to run the expression fuzzer test with verification against Presto on your Mac.
Check out the Velox repository from Github on your Mac and follow this instruction to build Velox.
Follow this instruction to start the Presto server in the background.
Download the latest version of Presto instead of 0.284 said in the instruction. E.g., 0.289 is the latest as of Oct 2024.
The --duration_sec=1800 argument makes the expression fuzzer test run for 30 minutes. --batch_size=6 makes the input batches contain 6 rows. Please feel free to adjust them according to your needs.
After the expression fuzzer test finishes, find the pid of the Presto server and shut it down.
ps -x | grep presto
kill <pid of presto>
Run Expression Fuzzer with Specific Functions
If you would like to run expression fuzzer with only specific functions, add a command line argument like the following to velox_expression_fuzzer_test at the step 4 above. Names in the quoted list are Velox function names. E.g., --only="eq,neq,lt,gt,lte,gte".
The text was updated successfully, but these errors were encountered:
Description
The Velox expression fuzzer test generates random expressions and evaluates them in Velox with random input data. It has been a powerful tool for detecting bugs in the Velox expression evaluator and scalar functions. There is an ongoing extension to this test to verify the Velox expression results against Presto’s.
Test Setup
Below are the steps to run the expression fuzzer test with verification against Presto on your Mac.
The
--duration_sec=1800
argument makes the expression fuzzer test run for 30 minutes.--batch_size=6
makes the input batches contain 6 rows. Please feel free to adjust them according to your needs.Run Expression Fuzzer with Specific Functions
If you would like to run expression fuzzer with only specific functions, add a command line argument like the following to velox_expression_fuzzer_test at the step 4 above. Names in the quoted list are Velox function names. E.g.,
--only="eq,neq,lt,gt,lte,gte"
.The text was updated successfully, but these errors were encountered: