[flight-rpc][flight-jdbc][sql] - Dynamic parameters on columns that created in runtime not working
- Lenguaje dominante
- Java
- Estrellas
- 94
- Forks
- 152
- Merge medio
- 3 d 16 h
- PR fusionados (30 d)
- 11
Descripción
### 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
Guía de contribución
Línea de trabajo
Comienza reproduciendo la consulta proporcionada mediante los componentes FlightRPC y flight-jdbc usando la versión 15.0.2 indicada, y luego rastrea cómo se gestionan los parámetros para las columnas creadas en tiempo de ejecución. El issue no nombra ningún archivo fuente ni prueba; se considera terminado cuando la consulta se ejecuta correctamente con los parámetros dinámicos proporcionados y una prueba de regresión cubre este comportamiento.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java, sql
- Área
- api, database
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100