This command is only available through
KiSQL or database clients configured with
the Kinetica JDBC driver.
SET CATALOG Syntax
KINETICA restores the database itself as the
default.
While an external catalog is the default:
- A table name with no schema resolves in the catalog’s
SCHEMAoption—see Catalog Options. - A table name of the form
<schema>.<table>resolves in the catalog. - Common table expressions and the
ki_catalog,information_schema,pg_catalog&sys_*schemas still resolve in the database. - Only
SELECT,SHOW&DESCRIBEstatements are accepted; other statements are rejected until the default is set back toKINETICA.
Examples
To make a JDBC catalog the session’s default:SET CATALOG Example
SCHEMA:
Query Default Catalog Example
Rejected DDL Example
DDL Output
Restore Default Catalog Example