You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Tim Van Wassenhove (Jira)" <ji...@apache.org> on 2022/04/28 08:31:00 UTC
[jira] [Created] (ARROW-16393) [Java] FlightSqlClientDemoApp does not accept values pass to query, catalog, schema and table arguments
Tim Van Wassenhove created ARROW-16393:
------------------------------------------
Summary: [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
Reporter: Tim Van Wassenhove
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)