Skip to main content

Import Cube Aggregates

POST 

/org/:orgId/project/:projectId/cube/:cubeId/aggregates/import

Uploads a file containing the proprietary AtScale Aggregate Definition format for System-Defined aggregates. Use the 'multipart/form-data' Content-Type header. The payload follows the form-data format with the 'file' field populated with the binary-encoded file contents. For example: { file: File_Contents_In_Binary }.

Request

Path Parameters

    orgId stringrequired

    The Organization ID (UUID) for which you are querying.

    projectId stringrequired

    The Project ID (UUID) for which you are querying.

    cubeId stringrequired

    The Cube ID (UUID) for which you are querying.

Query Parameters

    importPartitionKeys boolean

    Whether to import partition hints in aggregate logical plans (defaults to true if unspecified).

    importDistributionKeys boolean

    Whether to import distribution hints in aggregate logical plans (defaults to true if unspecified).

    importReplication boolean

    Whether to import replication hints in aggregate logical plans (defaults to true if unspecified).

    connectionRemap string

    originalConnId:newConnId (no remap if unspecified). Pass multiple connection Remap variables to perform muliple remap operations.

Body

required

    object

Responses

Success.

Schema

    atScaleExportVersion string

    The AtScale system version from which the export originated.

    exportOrgId string

    Source Organization ID.

    exportProjectId string

    Project ID

    importOrgId string

    ID of the Organization to which the file was imported.

    importProjectId string

    ID of the Project to which the file was imported.

    cubeId string

    ID of the Cube containing the aggregate definitions.

    numberOfDefinitionsImported integer

    Count of aggregate definitions that were imported.

    numberOfDefinitionsIgnored integer

    Count of aggregate definitions that were not imported.

    aggregates AggregateImportDetails

    Count: count of the response Values array, Values[ id: Source Aggregate UUID, newID: New Aggregate UUID, Imported: True|False, reason: Human readable reason for Imported=False.]

Loading...