CloudSen opened a new issue, #14417:
URL: https://github.com/apache/dolphinscheduler/issues/14417

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   If I use Oracle or DM database in SQL-TASK, and then execute select 
statement that contains CLOB(in Oracle) or TEXT(in DM) field, it will have 
serialization errors.
   After debugging, I found that this may be a design problem. All query 
results will be serialized, but not all jdbc-driver classes can be serialized.
   This happend at: 
   `org/apache/dolphinscheduler/plugin/task/sql/SqlTask.java:305`
   
   ### What you expected to happen
   
   All data types should be queryable.
   
   ### How to reproduce
   
   1. create process
   2. drag SQL-TASK component
   3. choose ORACLE database
   4. choose QUERY sql type
   5. edit select statement to query CLOB fields
   6. online and execute process
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.1.x
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to