[flight-rpc][flight-jdbc][sql] - Dynamic parameters on columns that created in runtime not working
- Linguagem predominante
- Java
- Estrelas
- 94
- Forks
- 152
- Merge médio
- 3d 16h
- PRs com merge (30d)
- 11
Descrição
### 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
Guia de contribuição
Direção de pesquisa
Comece reproduzindo a consulta fornecida por meio dos componentes FlightRPC e flight-jdbc usando a versão 15.0.2 informada e, em seguida, rastreie como os parâmetros são tratados para colunas criadas em tempo de execução. A issue não indica um arquivo de origem nem um teste; considera-se concluído quando a consulta é executada com sucesso com os parâmetros dinâmicos fornecidos e um teste de regressão cobre esse comportamento.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- java, sql
- Domínio
- api, database
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 35/100