Symptom
When running data persistency of the View in Datasphere, the following error appears:
- "code":274, "message":"inserted value too large for column"
- error: AttributeEngine: indexed value not within specified range;checkCesu8StringColumn(): max length (4) violated on pos 0, value='01047649',column '*****'; $table$=****:****_$PT1AttributeEngine: indexed value not within specified range;checkCesu8StringColumn(): max length (2) violated on pos 0, value='1000',column '*****', rc=6959", "insertingData":true} )
Environment
SAP Datasphere
Reproducing the Issue
- Login to Datasphere tenant
- Navigate to Data Builder, space ***
- Search for view ***
- Perform Data Persistency of the view and get the error message.
Cause
View persistency could be failing due to inconsistent datatype length between application and database.
Resolution
It is recommend to align the data type length using the Cast function.
For more information, see CAST Function (Data Type Conversion).
Keywords
datasphere, ds, dws, data persistency, 274, data length , KBA , DS-DI-VIW , View Persistency and Runtime , Problem
Product
SAP Datasphere 1.0