cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

XSA Calculation View text join

anandmuthu
Participant
0 Likes
1,319

Hi experts,

I am hitting a funny problem where my calculation view text join returns funny records and any editing to change after first build returns an error.

I have a simple calculation view where table A is joining to table B with text join . Both join mapping fields are the same length and size but with different naming.

And the text join.

First issue.

The results are funny where the text sometimes truncated and multiple entries.

Second Issue.

Any changes after this causes error on the calculation view that requires it to be rebuild from scratch. First time activation always works without error. Once the error occurs no way to rectify but to delete the whole model and build again with the same join.

Error: com.sap.hana.di.calculationview: Invalid datatype, length or/and scale are missing: type=0, intDigits=0, fractDigits=0Invalid datatype, length or/and scale are missing: type=0, intDigits=0, fractDigits=0Invalid datatype, length or/and scale are missing: type=0, intDigits=0, fractDigits=0Invalid datatype, length or/and scale are missing: type=0, intDigits=0, fractDigits=0Invalid datatype, length or/and scale are missing: type=0, intDigits=0, fractDigits=0Invalid datatype, length or/and scale are missing: type=0, intDigits=0, fractDigits=0 (node: Join_1, attribute: DDTEXT, status: Inconsistent calculation model, code: 34011) [8252071]
at "src/data/models/test/BTest_TextJoin.hdbcalculationview" (0:0,//Join_1/DDTEXT)

Attached is the calculation view full code for reference.

cv-text.txt

Further additional details.

HANA XSA SP04

Right table is build on HANA-column view

Left text table is remote table through SDA synonyms which is row based.

Hope you can help shed some light into the matter.

Thanks.

Anand

Accepted Solutions (0)

Answers (0)