4paradigm / 4paradigm/OpenMLDB
create table add default null
Aperta
bug
- Lingua principale
- C++
- Stelle
- 1.7k
- Fork
- 331
- Merge medio
- 12g 12h
- PR unite (30g)
- 1
Descrizione
```
> create table t1(c1 string default null);
Error: [2000] default value type mismatch
```
`default null` is needless, but it should pass, and the error is not good.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Look for SQL parser and type checking code related to CREATE TABLE and DEFAULT clause validation. The error 'default value type mismatch' suggests a type validation issue when NULL is specified. Find where default values are validated and ensure NULL is accepted for any column type. Test by creating a table with a string column default null.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- sql
- Ambito
- databases
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 45/100