Support switch case expression
Open
sig/planner
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
Currently, for the following expression:
`case b when 1 then 'c' when 2 then 'd' end`
It will be represented as
`case when b=1 then 'c' when b=2 then 'd' end`
after parsing AST node into planner expression.
This is not efficient, especially when b is a function, instead of a column.
Contributor guide
Assessment
This issue has not been assessed yet.