Skip to main content

Crate risingwave_planner_test

Crate risingwave_planner_test 

Source
Expand description

Data-driven tests.

Modulesยง

resolve_id ๐Ÿ”’

Structsยง

CreateConnector
TestCase
TestCaseResult
TestInput

Enumsยง

TestType

Staticsยง

PLANNER_TEST_JAVASCRIPT_UDF ๐Ÿ”’
Planner tests are built without the udf feature of risingwave_expr_impl, so language javascript UDFs are created with this implementation, which only records the function body. UDFs are never executed during planning.

Functionsยง

check
check_result ๐Ÿ”’
Checks that the result matches test_case.expected_outputs.
explain_plan ๐Ÿ”’
resolve_testcase_id
run_test_file
test_data_dir
/tests/testdata directory.