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] [starrocks connector] 从mysql同步数据到starrocks,seaTunnel在starrocks中自动建的表字段没有注释 #8329

Open
2 of 3 tasks
zhaobbc123 opened this issue Dec 18, 2024 · 7 comments
Assignees
Labels

Comments

@zhaobbc123
Copy link

Search before asking

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

What happened

从mysql同步数据到starrocks,seaTunnel在starrocks中自动建的表字段没有注释

SeaTunnel Version

2.3.8

SeaTunnel Config

env {
  parallelism = 2
  job.mode = "BATCH"
}
source {
    Jdbc {
        url = "jdbc:mysql://127.0.0.1:3306/test"
        driver = "com.mysql.jdbc.Driver"
        connection_check_timeout_sec = 100
        user = ""
        password = ""
        table_path = "test.student"
        query = "select  * from test.student"
    }
}

sink {
  StarRocks {
    nodeUrls = ["127.0.0.1:8030"]
    base-url = "jdbc:mysql://127.0.0.1:9030/"
    username = 
    password = 
    database = "test"
    table = "student"
    batch_max_rows = 10000
    enable_upsert_delete = true
    data_save_mode = DROP_DATA
    starrocks.config = {
      format = "JSON"
      strip_outer_array = true
    }
  }
}

Running Command

./bin/seatunnel.sh --config ./job/mysql-to-starrocks.conf -m local

Error Exception

自动在starrocks中建的表没有注释

Zeta or Flink or Spark Version

2.3.8

Java or Scala Version

java 8

Screenshots

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@zhaobbc123 zhaobbc123 added the bug label Dec 18, 2024
@hailin0 hailin0 added help wanted feature New feature and removed bug labels Dec 18, 2024
@davidzollo
Copy link
Contributor

davidzollo commented Dec 19, 2024

@zhaobbc123 Would you like to submit a PR to solve this issue? it's not difficult, can you have a try?
https://seatunnel.apache.org/docs/contribution/setup
https://seatunnel.apache.org/community/submit_guide/submit-code

If anyone who'd like to help to implement this function, please leave a message then you can submit a PR, thank you.

@zhaobbc123
Copy link
Author

zhaobbc123 commented Dec 19, 2024 via email

@zhaobbc123
Copy link
Author

zhaobbc123 commented Dec 20, 2024 via email

@hawk9821
Copy link
Contributor

Please assign it to me.

@dailai dailai assigned hawk9821 and unassigned zhaobbc123 Dec 20, 2024
@hawk9821
Copy link
Contributor

@zhaobbc123 Please upgrade to 2.3.9 , 2.3.9 is supported #7847

@zhaobbc123
Copy link
Author

zhaobbc123 commented Dec 23, 2024 via email

@luyfuMinimalism
Copy link

@zhaobbc123 I have raised a new question about starRocks. Can you take a look

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

No branches or pull requests

5 participants