Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [TASK SQL] The resultProcess function will have serialization errors when querying CLOB fields #14417

Closed
3 tasks done
CloudSen opened this issue Jun 28, 2023 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed Stale

Comments

@CloudSen
Copy link

CloudSen commented Jun 28, 2023

Search before asking

  • I had searched in the issues 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(both in Oracle and DM) or TEXT(in DM) field, it will have serialization errors.
After debugging, I found that this may be a BUG. 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

image

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

@CloudSen CloudSen added bug Something isn't working Waiting for reply Waiting for reply labels Jun 28, 2023
@SbloodyS SbloodyS added help wanted Extra attention is needed and removed Waiting for reply Waiting for reply labels Jun 28, 2023
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

@github-actions github-actions bot added the Stale label Jul 31, 2023
@github-actions
Copy link

github-actions bot commented Aug 7, 2023

This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.

@github-actions github-actions bot closed this as completed Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed Stale
Projects
None yet
Development

No branches or pull requests

2 participants