[FlightRPC][FlightSQL][Java] Make FlightSqlClientDemo a general purpose tool
- 主要言語
- Java
- スター
- 94
- フォーク
- 152
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 11
説明
The FlightSqlClientDemo test program has a limited set of options that prevents it from being used against production databases. It does work against the Derby and SQLite examples though.
The major limitation is that there is no way to supply authentication information. The proposal here is to add support for passing in HTTP basic credentials and Authorization: Bearer headers.
Another useful feature would be an option to supply arbitrary headers (as a way of support server-specific options).
Lastly, it would be good to add an interactive mode that just ran the tool in a loop based on user input (and use ClientCookieMiddleware in this mode to persist state).
A shaded configuration of the flight-sql module that set this tool's main function as the JAR entry point would make it more friendly to run as well.
This would make the tool comparable to SQLLine.
**Reporter**: [James Duong](https://issues.apache.org/jira/browse/ARROW-15843) / @jduo
**Note**: *This issue was originally created as [ARROW-15843](https://issues.apache.org/jira/browse/ARROW-15843). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
コントリビューションガイド
調査の方向性
まず、テストプログラム FlightSqlClientDemo と flight-sql モジュールの設定を見つけます。ClientCookieMiddleware が提案されたインタラクティブモードをどのようにサポートできるかを確認し、そのうえで認証情報、bearer および任意のヘッダー、インタラクティブ実行、shaded JAR のエントリーポイントの範囲を定義します。選択したオプションをツールがサポートし、本番データベースに対して便利に実行できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- cli, tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100