Closed goldmedal closed 1 month ago
I found even we add an alias for it, the complex expressions are also broken. I disable the test at https://github.com/Canner/wren-engine/blob/f6c1cbf0d5c7abad7488b18165d2135dc1ca9af4/wren-modeling-rs/sqllogictest/src/test_context.rs#L262
Description
We have introduced the view in https://github.com/Canner/wren-engine/pull/645 but there are some column limitations for it. Currently, we query the complex expression with the alias name in the view. The followed SQL isn't valid:
It should be
There're some todo case that should be enabled: https://github.com/Canner/wren-engine/blob/daf5a60fd4695e85fb152c589c83cd4c5a328f40/wren-modeling-rs/sqllogictest/src/test_context.rs#L261-L262