11-07-2022 12:11 PM
Has anyone tried using variables in the physical schema joins?
11-08-2022 11:10 AM - edited 11-08-2022 11:10 AM
Hi Prabhak,
Please clarify with further detail on what you are trying to accomplish if I miss the mark here. It appears to me that you are simply trying to reduce the resultset. This may be ideal to simply add into the SQL scripts. Again, If that is the case and you face any challenges please clarify with further detail.
Regards,
Zach, Solutions Engineer
11-09-2022 11:22 AM
Yes, i was trying to reduce the result set, trying to expose only the records that are active as of today (using CURRENT_DATE session variable).
Dylan from Incorta has helped me understand this one - " The joins are calculated during loading time and cannot be dynamic (so can't use variables in the joins).