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

How can I wirte a table of StarRocks from Spark RDD/DataFrame? #9

Open
Green-Lemon opened this issue Nov 11, 2022 · 2 comments
Open

Comments

@Green-Lemon
Copy link

From the commit record, it seems that the connector has supported writer. Is there a demo that write to StarRocks from the Spark RDD/DataFrame?

@Green-Lemon
Copy link
Author

When I try to write it like this:

dataFrame.write.format("starrocks") .mode("overwrite") .option("starrocks.table.identifier", "db.table") .option("starrocks.fenodes", "fe:9030") .option("user", "username") .option("password", "password") .save()
a exception occur:
com.starrocks.connector.spark.sql.StarrocksSourceProvider does not allow create table as select.

@zyclove
Copy link

zyclove commented Nov 15, 2022

同问,还不支持数据写入吗?可以支持一下吗?什么时候可以发布一个正式版本呢?

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

No branches or pull requests

2 participants