Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
Description
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)
Attachments
Issue Links
- links to