Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

How to add new functions

Don't forget to add tests

  • run: env REGENERATE_GOLDENFILES=1 cargo test after adding new functions

  • build and run databend, prepare for logical tests:

     make build
     make run-debug
  • Add logic tests file in "tests/sqllogictests/suites/query/functions/*.test" and run:

     cargo run \
     -p databend-sqllogictests \
     --bin databend-sqllogictests \
     -- \
     --handlers "http" \
     --run_dir functions \
     --run_file <test_file_name> \
     --debug \
     --parallel 2