You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2022/04/28 18:57:00 UTC
[jira] [Assigned] (ARROW-16393) [Java] FlightSqlClientDemoApp does not accept values pass to query, catalog, schema and table arguments
[ https://issues.apache.org/jira/browse/ARROW-16393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Li reassigned ARROW-16393:
--------------------------------
Assignee: Tim Van Wassenhove
> [Java] FlightSqlClientDemoApp does not accept values pass to query, catalog, schema and table arguments
> -------------------------------------------------------------------------------------------------------
>
> Key: ARROW-16393
> URL: https://issues.apache.org/jira/browse/ARROW-16393
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java
> Reporter: Tim Van Wassenhove
> Assignee: Tim Van Wassenhove
> Priority: Trivial
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Currently FlightSqlClientDemoApp does not honor the values which are passed as argument for query, catalog, schema and table.
> Eg: The following results in a NullpointerException
> mvn exec:java -Dcheckstyle.skip -Drat.skip=true -Dexec.mainClass="org.apache.arrow.flight.sql.example.FlightSqlClientDemoApp" -Dexec.args='-host localhost -port 52358 -command Execute -query "select * from APP.INTTABLE"'
>
> [WARNING]
> java.lang.NullPointerException
> at org.apache.arrow.flight.sql.impl.FlightSql$CommandStatementQuery$Builder.setQuery (FlightSql.java:18056)
> at org.apache.arrow.flight.sql.FlightSqlClient.execute (FlightSqlClient.java:96)
> at org.apache.arrow.flight.sql.example.FlightSqlClientDemoApp.exampleExecute (FlightSqlClientDemoApp.java:191)
> at org.apache.arrow.flight.sql.example.FlightSqlClientDemoApp.executeCommand (FlightSqlClientDemoApp.java:116)
> at org.apache.arrow.flight.sql.example.FlightSqlClientDemoApp.executeApp (FlightSqlClientDemoApp.java:104)
> at org.apache.arrow.flight.sql.example.FlightSqlClientDemoApp.main (FlightSqlClientDemoApp.java:71)
> at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:254)
> at java.lang.Thread.run (Thread.java:748)
>
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)