Developer package utilities
The developer package includes utilities for SSL certificate management and engine management.
watsonx.data Developer edition
These developer package utilities are automatically configured to work with the installed Presto engine.
For more information, see Installing the IBM® watsonx.data developer version.
presto-cli
Start an interactive session with the Presto engine.
Syntax
bin/presto-cli --catalog=tpch
For more information, see Using built-in presto-cli in the developer edition.
presto-run
Run SQL in a non-interactive manner.
Syntax
bin/presto-run --catalog=tpch <<< "select * from tiny.customer limit 10;"bin/presto-run -f <path of sql file directory>For more information, see Running SQL queries by using developer utilities.
python-run
It provides a way to run python scripts.
Syntax
bin/python-runos.environ['ENG_PASSWORD'] provides the saved password for the selected
engine.bin/python-run <python-script-in-sandbox>For more information, see Running Python scripts by using developer utilities.
dev-sandbox
Provides a containerized environment with useful utilities and python modules to help explore the watsonx.data.
Syntax
bin/dev-sandboxFor more information, see Running Python scripts in sandbox container by using developer utilities
user-mgmt
It is used to add or remove users to the developer edition and to change passwords for such users. This can be helpful to exercise user access authorizations in watsonx.data Developer edition.
As part of the installation procedure, the ibmlhadminuser is created. During
setup, the --password=<ibmlhadmin password> argument can be used to select a
password. If a password is not selected, then the default password is password.
Syntax
add-user command to introduce a new user ID. For
example:user-mgmt add-user <username> <role> [password]If a password for this user is not set on the
command line (recommended), then you are prompted to enter the new password and confirm. For
example: user-mgmt add-user tom User password
delete-user command to delete an existing user ID. For example,
user-mgmt delete-user
tomuser-mgmt delete-user <username>change-password command to set a new password for a user ID or default
user. For example:user-mgmt change-password <username>user-mgmt change-password ibmlhadmin