Incorrect SQL Generated for Subsegments after upgrading to PM7.4
Post Pega Marketing (PM) 7.4 upgrade, incorrect SQL is generated for subsegments.
Error executing SQL for Tab Set 1, Group Group 1 : ORA-00904: "PC3S"."PYSUBJECTID": invalid identified
Steps to Reproduce
- Upgrade PM 7.31 to PM 7.4.
- In the upgraded environment, create a new Segment.
- Refer to the pre-existing segment and run this segment.
A defect in Pegasystems’ code or rules
If a new Segment rule is created and a pre-existing subsegment is included (created in PM 7.31), then the generated SQL is incorrect. Instead of referring to the CUSTOMERID column, it referred to PYSUBJECTID column for a subsegment created in PM 7.31. The PM 7.31 segments do not have PYSUBJECTID column.
The segment fails to execute. The susbsegment when run individually works, however, the main segment referring it fails as the SQL is incorrect.
0% found this useful