JRS truncates attribute values to 255 characters
I am using JRS version 6.0.1 as the reporting tool.
When I run a report with the Data Warehouse as the source, the report fields are truncated after 255 characters.
This appears to be a limitation to my understanding, as RRDI trying to report on DNG's custom attributes also has the same issue.
This problem appears on Data Warehouse side, how it stores the collected data.
|
Accepted answer
Technical explanation:
Regular strings (for custom attributes) and most of the basic attributes like name, type, state are limited to 255 characters.
This Data Warehouse design has been in place since version 3.0.1.
Requirement primary text is limited to 4000.
The Data Warehouse does support long strings for custom attributes, but those are not populated by default by DCC.
The table was created for the customers who customize their ETL.
DCC will read the string from the XML returned by the Reportable REST API.
Then it will dynamically inspect the column size in the Data Warehouse schema and truncate accordingly.
So if you want to store larger strings, you would have to change the physical schema of the Data Warehouse.
Different database vendors will have different limits for how big the strings can be.
Some vendors like SQL Server will even fail to index the large columns and start throwing runtime errors during the insert.
A custom string attribute can support more than 255 characters in DOORS Next Generation.
The Data Warehouse design supports both short and long strings, but it defaults to the short ones.
This design has been introduced back in version 3.0.1.
DCC no longer has the limitation of the previous ETL solutions (Java ETL and Data manager) of having to hard code the size of data in the ETL logic itself.
It will inspect the Data Warehouse schema at runtime and use the database column sizes to do the proper truncation.
Workaround:
Manually increase the size of the VAL column in the following table from 255 to a larger value (say 1024).
CREATE TABLE RQRMENT_STRING_EXT (
REQUIREMENT_ID INTEGER DEFAULT -1 NOT NULL, REQUIREMENT_ATTRDEF_ID INTEGER DEFAULT -1 NOT NULL, ISSOFTDELETED SMALLINT DEFAULT 0 NOT NULL, VAL VARCHAR(255) ) IN VNF_32K INDEX IN VNF_IDX;
DCC will auto discover the change after being restarted and will truncate accordingly.
Andrew Clement selected this answer as the correct answer
|
One other answer
RFE:
Workitem:
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.