Issue Information
| Issue Number | 167602b |
| Issue | The error "TBR-12126: Database link client API error - Specified procedure or function was not found." occurs while executing a query that calls the KEEP function in DBLink. |
| Cause | When parsing an SQL statement and converting it into a tree structure, the KEEP function is incorrectly reconstructed when the expression is reassembled into a query to retrieve information from a remote table, resulting in an incorrect SQL statement. |
| Solutions | Fix the issue where the desc clause or the nulls first/last clause was omitted when generating SQL. |
| Occurrence Date | 26.10.21. |
| Required Patch Version | 6FS07PS 7FS02PS |
Patch Information
| Patch Name | FS02PS_167602b |
| Major Version | 7 |
| Minor Version | FS02PS |
| Version Title | Fix missing sort direction and COUNT(*) when converting KEEP aggregate strings |
| Available for Deployment | 26.11.23. |
| Compatibility | • TAC rolling patch: Available • TSC rolling patch: Available • Backup data compatibility: Available • Protocol compatibility: Available • Data format compatibility: Available |
| AP Impact | • Plan change: No • Result value change: Yes • SQL syntax change: No • System object change: No • Existing functionality change: No |
| Parameters | - |
| Workaround | - |