The new cdap script invokes the CDAP CLI as
This example (from http://docs.cask.co/cdap/current/en/examples-manual/examples/sport-results.html#exploring-with-ad-hoc-sql ) worked with the previous cdap-cli.sh. It no longer works, and trips over the "*" after the select command.
Attempts to by-pass this or to escape the symbol failed. It appears that the script is not correctly escaping and passing the command along.