Informix Error -26563: The query cannot be accelerated because the unary function with expression is not supported on the accelerator.
Cause and resolution
The query cannot be accelerated because the unary function with expression is not supported on the accelerator.
The query contains unary function with expressions as argument. If the data types in the expression are non-numeric types then the accelerator returns error. So such queries need to be prevented from off-loading to the accelrator.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26563 fires when a query isn't accelerated because it contains a unary function applied to an expression argument — per the official guidance.
- A unary function is applied to an expression argument of a non-numeric type, per the official guidance — the direct, only cause; such combinations would return an error from the accelerator, so they're prevented from offloading.
Solutions / Resolution
- No action needed to "fix" this — per the official guidance, such a query runs on the database server instead.
Examples
N/A
No specific triggering statement is documented beyond a unary function over a non-numeric expression.
Diagnostic Checks
- This is an informational offload-diagnostic, not an error to fix.
Related Errors / Related Topics
- -26555 — "Expression is not supported" A related accelerator-support restriction, general rather than specific to unary functions over non-numeric expressions.
A unary function was applied to a non-numeric expression, which the accelerator doesn't support — such queries run on the database server instead.