Files
doris/regression-test/script
谢健 c3bd2a22d4 [feature](Nereids) add many array functions (#24301)
Add function array_filter, array_sortby, array_last_index, array_first_index, array_orderby, array_count
2023-09-19 18:58:49 +08:00
..

# Manual

This script is used to generate any SQL plan checker groovy in batch.

You need to pass two parameter to this script:

* The path of the directory which contains the SQL files.
* The path of the directory where you expect to save the generated groovy test file,if there doesn't exists such directory, script would try to create it.

Note that you must pass the parameters as above showed order.

Below is a example:

```
python3 plan_checker_generator.py {YOUR_DORIS_HOME}/regression-test/suites/tpch_sf1/sql {YOUR_DORIS_HOME}/regression-test/suites/tpch_sf1/explain
```