Skip to content

CREATE NAMESPACE

Create new child namespaces in the current Lance namespace.

Create a simple namespace:

CREATE NAMESPACE company;

Create nested namespace:

CREATE NAMESPACE company.analytics;

Create namespace if it doesn't exist:

CREATE NAMESPACE IF NOT EXISTS company;

Create namespace with properties:

CREATE NAMESPACE company WITH PROPERTIES (
    'description' = 'Company data namespace',
    'owner' = 'data-team'
);