Platform Analytics 7 Dataflow

WI_JOBRESUSAGECOSTDAILY table

This describes the wi_jobresusagecostdaily table and how each column of data arises from the daily aggregation of the WI_JOBRESUSAGECOST. The range of aggregation is between the last date in this table and the midnight of the most recent inserted record in the WI_JOBRESUSAGECOSTDAILY.
The data is extracted fro each distinct cluster in wi_jobresusagecost and aggregated for the localized day grouped by "Cluster", "User", "Project", "Resource", "CoreHour", "TruncatedQueueTime" and "TruncatedStartedTime".
This is the column description of each data column of WI_JOBRESUSAGECOSTDAILY and how each column is filled with data.
Column Name
Description
Key
CLUSTER_CODE
This comes from the "ClusterCode" field in the wi_jobresusagecost.
Primary key
QUEUE_TIME
This comes from the "Queue_time" field in the wi_jobresusagecost. The "Queue_time" is transformed to local time and then truncated to the date (ie, set the hour part to midnight) and then transformed back to GMT time.
Primary key
FINISH_TIME
This comes from the "Finish_time" field in the wi_jobresusagecost. The "Finish_time" is transformed to local time and then truncated to the date (ie, set the hour part to midnight) and then transformed back to GMT time.
Primary key
USER_CODE
This comes from the "UserCode" field in the wi_jobresusagecost.
Primary key
PROJECT_CODE
This comes from the "ProjectCode" field in the wi_jobresusagecost.
Primary key
RESOURCE_CODE
This comes from the "ResourceCode" field in the wi_jobresusagecost.
Primary key
RESERVE_VALUE
This is the sum of "ReserveValue" field in the wi_jobresusagecost after the aggregation.

RES_USAGE
This is the sum of "ResUsage" field in the wi_jobresusagecost after the aggregation.

RES_COST
Set to 0.0

START_TIME
This comes from the "Start_time" field in the wi_jobresusagecost. The "Start_time" is transformed to local time and then truncated to the date (ie, set the hour part to midnight) and then transformed back to GMT time.

COUNTER
This is the number of records aggregated into this record.

CORE_HOUR
The core hour is resulted from a mapping of the original time_stamp in local time. If the time_stamp is within the range from Monday to Friday, 9am to 5pm, then the core_hour will be 1, otherwise it will be 0.
Primary key
INSERT_SEQ
This is a system generated sequence number. For each new record inserted, an unique sequence number is being assigned to this column.