Creating schemas for virtual objects in Watson Query
You can use schemas to group virtual objects. A virtual object can belong to only one
schema. Use the CREATE SCHEMA SQL
statement to create schemas.
About this task
If a schema does not exist in your Watson Query service, you must create a schema
explicitly. Any user can create a schema with their own authorization name by using a CREATE
SCHEMA
statement. For example, user with user ID dv_ibmid_1001
can
create a private schema named dv_ibmid_1001
. To enable other users or roles to use the schema, dv_ibmid_1001
must grant CREATEIN, ALTERIN, or
DROPIN schema permissions to these users or roles. Additionally, granting these permissions to
PUBLIC enables the schema to be shared by all users.
Watson Query Managers can create schemas based on names other than the existing user’s authorization name. Watson Query Managers must grant appropriate permissions to other users or roles for them to use the schema to create virtual objects.
As Watson Query Manager, you can grant IMPLICIT_SCHEMA permissions to a user with the Watson Query Engineer role for each project. Watson Query Engineer can then create schemas to be used by other users in their project. When schemas are created by using the IMPLICIT_SCHEMA permission, PUBLIC is granted the CREATIN permission on these schemas.