You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "James Duong (Jira)" <ji...@apache.org> on 2022/03/03 23:28:00 UTC

[jira] [Updated] (ARROW-15843) [FlightRPC][FlightSQL][Java] Make FlightSqlClientDemo a general purpose tool

     [ https://issues.apache.org/jira/browse/ARROW-15843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Duong updated ARROW-15843:
--------------------------------
    Summary: [FlightRPC][FlightSQL][Java] Make FlightSqlClientDemo a general purpose tool  (was: [FlightRPC][FlightSQL][Java] Make FlightSqlExample a general purpose tool)

> [FlightRPC][FlightSQL][Java] Make FlightSqlClientDemo a general purpose tool
> ----------------------------------------------------------------------------
>
>                 Key: ARROW-15843
>                 URL: https://issues.apache.org/jira/browse/ARROW-15843
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: FlightRPC, Java
>            Reporter: James Duong
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)