4paradigm / 4paradigm/OpenMLDB

insert statement: codegen insert rows

Aperta
#3,731 0 commenti 0 reazioni 1 assegnatario Rivendicata da @aceforeverd Vedi su GitHub
enhancement execute-engine storage-engine
Lingua principale
C++
Stelle
1.7k
Fork
331
Merge medio
12g 12h
PR unite (30g)
1

Descrizione

we only support insert stmt with base type expressions, so
```sql
# 1.
insert into t1 values (1, 2);

# 2
insert to t1 values (1, map(1,"12"), inc(3), [3, 4, 5]);
```

`1` works with legacy solution, but not `2`. Codegen rows support both.

Big work since the complexity for insert statements, as well as the SDK in java and python.

- [ ] native codegen insert rows: consider table default value and parameters
- [ ] Java & Python SDK
- [ ] offline batch

#3723 initiate codegen rows for values that contains map data type only, more work required

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.