create_namespace
The create_namespace operator creates a namespace. Available only in the Enterprise Edition.
SciDB security mode must be correctly configured before this or any security operator can be used. See the Security section of the SciDB Administration Guide.
For backward compatibility, namespace names may appear inside single quotes. The quotes are no longer needed, and quoted namespace names may not be supported in future releases.
Synopsis
create_namespace ( name );
Inputs
name: The name of the namespace to create.
Summary
- A namespace is a named container for array data.
- Only the scidbadmin user or users with admin or operator privilege can invoke this operator to create a namespace.
- Use set_role_permissions to let non-administrative users access the namespace.
- Although supplied as a string literal, the namespace name must follow the same rules as AFL identifiers.
Example
To create a new namespace called testNS01, run the following query as the scidbadmin user.
$ iquery -a AFL% create_namespace(testNS01); Query was executed successfully AFL%