fix: used to error on concat with parameters
- When adding concat to plan, we had a check that both concat children are expressions. - This leads to error, when children are parameters. - Replace error with debug assert that checks for expression | parameter children. Debug assert is used because it is quiet unlikely that we will mess up expression children, no need to check it in release builds.
parent
97d2b814
No related branches found
No related tags found
Showing
- sbroad-core/src/frontend/sql.rs 1 addition, 1 deletionsbroad-core/src/frontend/sql.rs
- sbroad-core/src/frontend/sql/ir/tests.rs 18 additions, 0 deletionssbroad-core/src/frontend/sql/ir/tests.rs
- sbroad-core/src/ir/expression/concat.rs 13 additions, 10 deletionssbroad-core/src/ir/expression/concat.rs
Loading
Please register or sign in to comment