Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 5115

dynamic join problems(measures always same)

$
0
0

Hello experts,

 

I have come across a strange dynamic join problems.

1) sometimes it will output same measures, but when I filtered by some small range, it will work.

 

-----------CA_VRT_PCA_BASE1_V2 screen shot----------------------------------

11.jpg

  12.jpg

 

--------------------switch on dynamic join, with a big data, result is not correct, measures are all the same, and some more GL Account should not be display----------------------------------------------------

SELECT  COMPANY_CODE,
GL_ACCOUNT_NUMBER,
sum(VOLUME_UOM1)

FROM"_SYS_BIC"."development.sophy_dev.backup.sprint3_dev/CA_VRT_PCA_BASE1_V2" A

where fiscal_year='2014'and fiscal_period='001'

groupby COMPANY_CODE , GL_ACCOUNT_NUMBER HAVINGsum(A.VOLUME_UOM1)>0

ORDERBY COMPANY_CODE,GL_ACCOUNT_NUMBER;

1.jpg

 

2.jpg

 

 

----------------------------switch off dynamic join, with a big data, result is correct----------------------

SELECT  COMPANY_CODE,GL_ACCOUNT_NUMBER,sum(VOLUME_UOM1)

FROM"_SYS_BIC"."development.sophy_dev.backup.sprint3_dev/CA_VRT_PCA_BASE1_V2" A

where fiscal_year='2014'and fiscal_period='001'

groupby COMPANY_CODE , GL_ACCOUNT_NUMBER HAVINGsum(A.VOLUME_UOM1)>0

ORDERBY COMPANY_CODE,GL_ACCOUNT_NUMBER;

  3.jpg

 

4.jpg

 

----------------------------switch on dynamic join, with a small data, result is correct----------------------

 

5.jpg1.jpg


Viewing all articles
Browse latest Browse all 5115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>