Incident Information
| Issue Number | 701694a |
| Issue | An internal error occurs when an aggregate function is referenced in an outer join condition. |
| Cause | The leading table of the outer join consisted only of references to condition columns, causing the right table of the aggregation join to be omitted. As a result, the outer join could be created before the aggregation join. |
| Solutions | When the outer join condition references an aggregate function in an aggr join, the right table of the aggr join is treated as the leading table of the outer join so that the aggr join is performed first. |
| Occurrence Date | 26.10.23. |
| Required Patch Version | 7FS02PS |
Patch Information
| Patch Name | FS02PS_701694a |
| Major Version | 7 |
| Minor Version | FS02PS |
| Version Title | Resolution for the error where referencing an aggregate in an aggr join condition causes an Internal Error |
| Available for Deployment | 26.11.23. |
| Compatibility | • TAC rolling patch: Supported • TSC rolling patch: Supported • Backup data compatibility: Supported • Protocol compatibility: Supported • Data format compatibility: Supported |
| AP Impact | • Whether the plan changes: Yes • Whether result values change: No • Whether SQL syntax changes: No • Whether system objects change: No • Whether existing functionality changes: No |
| Parameters | - |
| Workaround | - |