Skip to main content
interface CreateProjectionRequest
column_names: string[];
options?: Record<string, string>;
projection_name: string;
table_name: string;
column_names: string[]

List of columns from table_name to be included in the projection. Can include derived columns. Can be specified as aliased via the syntax ‘column_name as alias’.

options?: Record<string, string>

Optional parameters.

projection_name: string

Name of the projection to be created, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria.

table_name: string

Name of the existing table on which the projection is to be applied, in [schema_name.]table_name format, using standard name resolution rules. An empty table name creates a projection from a single-row virtual table, where columns specified should be constants or constant expressions.