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----------------------------------
--------------------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;
----------------------------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;
----------------------------switch on dynamic join, with a small data, result is correct----------------------