[Java][JDBC][FlightSql] Select query fails when using JDBC to query Sqlite example
- 主要語言
- Java
- 星號
- 94
- 分支
- 152
- 平均合併
- 3 天 16 小時
- 30 天內合併 PR
- 11
描述
### 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
貢獻指南
研究方向
使用報告中所示的 Go sqlite_flightsql_server example、DBeaver 和 Arrow JDBC URL 重現此失敗。將其與正常運作的 flight-sql-server-example 比較,並追查 SELECT 被當作更新處理的原因;完成的標準是 SQLite example 透過 JDBC driver 傳回查詢列。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java, sqlite
- 領域
- api, databases
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100