fx19880617 commented on a change in pull request #4726: Add sql query command URL: https://github.com/apache/incubator-pinot/pull/4726#discussion_r337135296
########## File path: pinot-tools/src/main/java/org/apache/pinot/tools/admin/command/PostQueryCommand.java ########## @@ -37,6 +38,9 @@ @Option(name = "-brokerPort", required = false, metaVar = "<int>", usage = "http port for broker.") private String _brokerPort = Integer.toString(CommonConstants.Helix.DEFAULT_BROKER_QUERY_PORT); + @Option(name = "-queryType", required = false, metaVar = "<string>", usage = "Query use sql or pql.") + private String _queryType = "pql"; Review comment: use Request.SQL ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
