Hi Sergey,
thanks for the pointers, they helped a lot.
To connect to Drill in embedded mode, for example, the following connection string is used:
sqlline -u "jdbc:drill:zk=local"
This command is embedded into drill-embedded.sh script so users simply call this script.
If user wants to enter username he is calling ./drill-embedded -n user1
If -p parameter was not passed, user is asked for the password interactively.
After new changes, standard script fails with
Usage: connect [-no-np] [-p property value]* <url> [username] [password] [driver]
If we add -no-np flag to the standard script, issue is resolved but user won't be able to connect interactively anymore.
We can't force user to provide -no-op flag when connecting to Drill, neither we can't hard-code -no-op in our script since this would prevent users from connection in the interactive mode.
Looks like new changes are breaking back-ward compatibility. Is there a way to leave previous behavior and switch to the new one if needed?
Kind regards,
Arina