Skip to main content
  • Initiates the process of creating a materialized view, reserving the view’s name to prevent other views or tables from being created with that name.

    For materialized view details and examples, see Materialized Views.

    The response contains view_id, which is used to tag each subsequent operation (projection, union, aggregation, filter, or join) that will compose the view.

    Parameters

    • table_name: string

      Name of the table to be created that is the top-level table of the materialized view, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria.

    • Optionaloptions: Record<string, string>

      Optional parameters.

    • Optionalcallback: GPUdbCallback

      Optional callback function

    Returns Promise<CreateMaterializedViewResponse>

    Promise<Types.CreateMaterializedViewResponse> - Promise resolving to the response

  • Initiates the process of creating a materialized view, reserving the view’s name to prevent other views or tables from being created with that name.

    For materialized view details and examples, see Materialized Views.

    The response contains view_id, which is used to tag each subsequent operation (projection, union, aggregation, filter, or join) that will compose the view.

    Parameters

    Returns Promise<CreateMaterializedViewResponse>

    Promise<Types.CreateMaterializedViewResponse> - Promise resolving to the response