Skip to Content

XSA Calculation View text join

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

textjoin.png (42.3 kB)
join.png (69.8 kB)
result1.png (67.3 kB)
cv-text.txt (5.9 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.