尝试构建立方体并低于错误
Trying to build the cube and getting below error
我正在尝试构建多维数据集并出现以下错误:
我应该怎么做才能解决?
Internal error: The operation terminated unsuccessfully. Errors in the
OLAP storage engine: The attribute key cannot be found when
processing: Table: 'dbo.FACT1', Column: 'LoanAge', Value: '-93'. The
attribute is 'LoanAge'. Errors in the OLAP storage engine: The record
was skipped because the attribute key was not found. Attribute:
LoanAge of Dimension: LoanAge from Database: Cube_Data, Cube: Bond
Analytics OLAP, Measure Group: FACT1, Partition: Fact Combined
SUBPRIME 20180401 HPI Median, Record: 185597. Errors in the OLAP
storage engine: The process operation ended because the number of
errors encountered during processing reached the defined limit of
allowable errors for the operation. Errors in the OLAP storage engine:
An error occurred while processing the 'Fact Combined SUBPRIME
20180401 HPI Median' partition of the 'FACT1' measure group for the
'Bond Analytics OLAP' cube from the cube_Data database. Server: The
current operation was cancelled because another operation in the
transaction failed. Internal error: The operation terminated
unsuccessfully. Errors in the OLAP storage engine: An error occurred
while processing the 'Fact Combined ALTA_20180401 HPI Median'
partition of the 'FACT1' measure group for the 'Bond Analytics OLAP'
cube from the Cube_Data database.
Greg 实际上在评论中回复了你的问题。
让我稍微放大他的解释。
Table dbo.FACT1
有一行 LoanAge = -93
当多维数据集正在执行 T-SQL 查询以获取分区 Fact Combined SUBPRIME 20180401 HPI Median
数据时,它是记录 #185597。
但是 LoanAge
维度 LoanAge
属性中不存在此值 (-93)。
要修复它,您需要:
- 将此值添加到
LoanAge
维度 table
- "Process Update"
LoanAge
维度
- 再次处理
Fact Combined SUBPRIME 20180401 HPI Median
分区。
并找出维度没有 -93 值的原因。
您可能需要实施延迟到达的维度方案,因为您的事实比维度值来得早。
例如一个未知值来自事实,添加它,用一些默认名称标记(例如 'Unknown -93')。一旦尺寸参考 table 有此代码,稍后更新它们。
这是常见的情况,并不完全适用于像年龄这样简单的属性(没有额外描述的数值)。
我正在尝试构建多维数据集并出现以下错误:
我应该怎么做才能解决?
Internal error: The operation terminated unsuccessfully. Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: 'dbo.FACT1', Column: 'LoanAge', Value: '-93'. The attribute is 'LoanAge'. Errors in the OLAP storage engine: The record was skipped because the attribute key was not found. Attribute: LoanAge of Dimension: LoanAge from Database: Cube_Data, Cube: Bond Analytics OLAP, Measure Group: FACT1, Partition: Fact Combined SUBPRIME 20180401 HPI Median, Record: 185597. Errors in the OLAP storage engine: The process operation ended because the number of errors encountered during processing reached the defined limit of allowable errors for the operation. Errors in the OLAP storage engine: An error occurred while processing the 'Fact Combined SUBPRIME 20180401 HPI Median' partition of the 'FACT1' measure group for the 'Bond Analytics OLAP' cube from the cube_Data database. Server: The current operation was cancelled because another operation in the transaction failed. Internal error: The operation terminated unsuccessfully. Errors in the OLAP storage engine: An error occurred while processing the 'Fact Combined ALTA_20180401 HPI Median' partition of the 'FACT1' measure group for the 'Bond Analytics OLAP' cube from the Cube_Data database.
Greg 实际上在评论中回复了你的问题。
让我稍微放大他的解释。
Table dbo.FACT1
有一行 LoanAge = -93
当多维数据集正在执行 T-SQL 查询以获取分区 Fact Combined SUBPRIME 20180401 HPI Median
数据时,它是记录 #185597。
但是 LoanAge
维度 LoanAge
属性中不存在此值 (-93)。
要修复它,您需要:
- 将此值添加到
LoanAge
维度 table - "Process Update"
LoanAge
维度 - 再次处理
Fact Combined SUBPRIME 20180401 HPI Median
分区。
并找出维度没有 -93 值的原因。
您可能需要实施延迟到达的维度方案,因为您的事实比维度值来得早。
例如一个未知值来自事实,添加它,用一些默认名称标记(例如 'Unknown -93')。一旦尺寸参考 table 有此代码,稍后更新它们。
这是常见的情况,并不完全适用于像年龄这样简单的属性(没有额外描述的数值)。