[flight-rpc][flight-jdbc][sql] - Dynamic parameters on columns that created in runtime not working
- Lingua principale
- Java
- Stelle
- 94
- Fork
- 152
- Merge medio
- 3g 16h
- PR unite (30g)
- 11
Descrizione
### Describe the bug, including details regarding any error messages, version, and platform.
Here's an example of code that causes the issue:
```## Doesn't work when the params are set on a created column on the fly
# stmt = text("SELECT *, (CASE WHEN (`OID` IS NULL) THEN :x ELSE :y END) as Temp FROM `Dynamic.Schema.Dts`.`Table`")
# rows = con.execute(stmt, {'x': 1, 'y': 0}).fetchall()
```
I'm unable to select with this query because I create a column on fly in runtime, after it's created I would like to query it.
And it's seems impossible.
I've tested it with: 15.0.2 and it still has the same issue.
Thank you in advance for the help.
If anymore information is required please comment that.
### Component(s)
FlightRPC, Java, Other
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo la query fornita tramite i componenti FlightRPC e flight-jdbc usando la versione 15.0.2 indicata, quindi traccia come vengono gestiti i parametri per le colonne create a runtime. L’issue non indica alcun file sorgente né alcun test; il lavoro è completato quando la query viene eseguita correttamente con i parametri dinamici forniti e un test di regressione copre questo comportamento.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java, sql
- Ambito
- api, database
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100