Support default value with `cast` function
Open
type/feature-request
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
Currently we can not define a column with default function `cast`:
```sql
create table t(a int default (cast('1' as signed)));
create table t1(a varchar(255), b int default (cast(a as signed)));
```
Contributor guide
Assessment
This issue has not been assessed yet.