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] [Module Name] Doris custom_sql can't work #7367

Closed
3 tasks done
RaymondFishWang opened this issue Aug 10, 2024 · 3 comments · Fixed by #7464
Closed
3 tasks done

[Bug] [Module Name] Doris custom_sql can't work #7367

RaymondFishWang opened this issue Aug 10, 2024 · 3 comments · Fixed by #7464
Assignees

Comments

@RaymondFishWang
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

I have tested 2.3.5 and 2.3.6 version with
data_save_mode=CUSTOM_PROCESSING
custom_sql="delete from table;
system can't work. I also tested the same function with starocks. It is ok.

SeaTunnel Version

2.3.5
2.3.6

SeaTunnel Config

sink {
    Doris {
        fenodes = "ip***:8030"
        query-port=9030
        password=""
        username=""
        database = "test"
        table = "***"
        batch_max_rows=10240
        data_save_mode=CUSTOM_PROCESSING
        custom_sql="delete from table;"
        doris.config = {
           format = "json"
           read_json_by_line = "true"
        }
    }
}

Running Command

/seatunnel-2.3.6/bin/seatunnel.sh --config aa.config

Error Exception

have no error. all the data have been inserted into the database . System can't delete the data from db.

Zeta or Flink or Spark Version

zeta

Java or Scala Version

java 1.8

Screenshots

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@RaymondFishWang
Copy link
Author

even if I write the wrong sql in custom_sql. System don't issue the error. It prove system don't execute the custom_sql.
this function is seem to have the bug

@Hisoka-X
Copy link
Member

cc @chl-wxp

@zhangshenghang
Copy link
Member

@Hisoka-X You can assign it to me, I'll handle it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants