[Java][JDBC][FlightSql] Select query fails when using JDBC to query Sqlite example
- Langage dominant
- Java
- Étoiles
- 94
- Forks
- 152
- Merge moyen
- 3 j 16 h
- PR mergées (30 j)
- 11
Description
### Describe the bug, including details regarding any error messages, version, and platform.
Running [this example](https://github.com/apache/arrow/blob/main/go/arrow/flight/flightsql/example/cmd/sqlite_flightsql_server/main.go)
I then use DBeaver with the Arrow JDBC Driver

`jdbc:arrow-flight-sql://localhost:53822?useEncryption=false&disableCertificateVerification=true&user=flight_username&password=xxxx`
When running a Select statement and debugging, I see it is performing a Put on the backend and trying to run an Update statement resulting in no data:



If I run a Flight Server using [this example](https://github.com/voltrondata/flight-sql-server-example), and run a Select query, it works fine.
`jdbc:arrow-flight-sql://localhost:31337?useEncryption=true&disableCertificateVerification=true&user=flight_username&password=xxxx`

### Component(s)
Go
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Reproduire l’échec avec l’exemple Go sqlite_flightsql_server, DBeaver et l’Arrow JDBC URL indiquée dans le rapport. Le comparer avec le flight-sql-server-example fonctionnel et déterminer pourquoi SELECT est traité comme une mise à jour ; le travail est terminé lorsque l’exemple SQLite renvoie des lignes de requête via le pilote JDBC.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java, sqlite
- Domaine
- api, databases
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100