...
Enable caching for a view
Add the index under Cache table indexes
Click Save (you’ll get a warning saying there was issue create the index)
ORA-00932: inconsistent datatypes: expected - got CLOB
Problem:
When running:
Code Block |
---|
SELECT * FROM student_lifecycle.p_ps_crse_catalog |
Get error:
Code Block |
---|
P_PS_CRSE_CATALOG_ [VIRTUAL] [ERROR]
P_PS_CRSE_CATALOG_ [JDBC WRAPPER] [ERROR]
P_PS_CRSE_CATALOG_#0 [JDBC ROUTE] [ERROR]
Received exception with message 'ORA-00932: inconsistent datatypes: expected - got CLOB' |
Cause:
Solution:
Possible Solution 1: Casting
https://community.denodo.com/answers/question/details?questionId=90670000000XcumAAC
Code Block |
---|
select CAST(bv_ps_crse_catalog.descrlong AS text) AS text_column
from bv_ps_crse_catalog |
Leads to error:
Code Block |
---|
P_BV_PS_CRSE_CATALOG [VIRTUAL] [ERROR]
P_BV_PS_CRSE_CATALOG [JDBC WRAPPER] [ERROR]
P_BV_PS_CRSE_CATALOG#0 [JDBC ROUTE] [ERROR]
Received exception with message 'ORA-22835:
Buffer too small for CLOB to CHAR or BLOB to RAW conversion
(actual: 4329, maximum: 4000)' |
Possible Solution 2: Server Config
Open Data Source (only for VDP Administration Tool) > Configuration > Source Configuration > Delegate group by clause = No
This would slow down performance as well as create extra load on the denodo servers by not pushing the query to oracle.
User Guide
Anchor | ||||
---|---|---|---|---|
|
...