XiaoMi / soar

SQL Optimizer And Rewriter
Apache License 2.0
8.67k stars 1.32k forks source link

Add `-check-config` parameter in command-line #99

Closed martianzhang closed 5 years ago

martianzhang commented 5 years ago

Please search the existing issues for relevant feature requests, add upvotes to pre-existing requests.

Feature Description

If the configuration file has some error, soar will bypass it and use the default value. Error messages were written in the log file. Add a new parameter for checking configuration may let the developer debug its config easier.

Use Case(s)

soar -check-config
soar -config test.yaml -check-config
martianzhang commented 5 years ago