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

[Fix][Connector-v2] Fix the sql statement error of create table for doris and starrocks #6679

Merged
merged 6 commits into from
Apr 16, 2024

Conversation

dailai
Copy link
Contributor

@dailai dailai commented Apr 10, 2024

Purpose of this pull request

Fix the sql statement error caused by the source table having no primary key or unique key for doris and startrocks. Link #6646

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

Copy link
Member

@Hisoka-X Hisoka-X left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dailai !

@Hisoka-X
Copy link
Member

Could you check the starrocks connector too? Thanks

@dailai
Copy link
Contributor Author

dailai commented Apr 11, 2024

Could you check the starrocks connector too? Thanks

OK

…table having no primary key or unique key for doris
@dailai dailai force-pushed the fix-doris-create-table-sqlerror branch from 02ddab4 to 5d8dd0b Compare April 11, 2024 01:38
@dailai dailai changed the title [Fix][Connector-v2] Fix the sql statement error of create table for doris [Fix][Connector-v2] Fix the sql statement error of create table for doris and startrocks Apr 11, 2024
@dailai dailai changed the title [Fix][Connector-v2] Fix the sql statement error of create table for doris and startrocks [Fix][Connector-v2] Fix the sql statement error of create table for doris and starrocks Apr 11, 2024
@dailai dailai requested a review from Hisoka-X April 11, 2024 01:49
@dailai dailai force-pushed the fix-doris-create-table-sqlerror branch from c70bbde to 2ca65f8 Compare April 12, 2024 07:15
@dailai dailai requested a review from Hisoka-X April 12, 2024 07:16
@dailai dailai requested a review from Hisoka-X April 12, 2024 08:25
@Hisoka-X Hisoka-X linked an issue Apr 12, 2024 that may be closed by this pull request
3 tasks
@dailai dailai closed this Apr 14, 2024
@dailai dailai deleted the fix-doris-create-table-sqlerror branch April 15, 2024 00:33
@dailai dailai restored the fix-doris-create-table-sqlerror branch April 15, 2024 00:52
@dailai dailai reopened this Apr 15, 2024
@dailai dailai requested a review from Hisoka-X April 15, 2024 01:23
Copy link
Member

@Hisoka-X Hisoka-X left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can just use common error to throw key message.

@dailai
Copy link
Contributor Author

dailai commented Apr 15, 2024

We can just use common error to throw key message.

I see it. It's done

@dailai dailai requested a review from Hisoka-X April 15, 2024 09:24
Hisoka-X
Hisoka-X previously approved these changes Apr 15, 2024
Copy link
Member

@Hisoka-X Hisoka-X left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if ci passed. Thanks @dailai !

@EricJoy2048
Copy link
Member

Just a record: #6354 I add rowtype_dup_key for Doris duplicate table Source sync to Doris duplicate table Sink. After this pr merge, I will change code.

@hailin0 hailin0 merged commit 88263cd into apache:dev Apr 16, 2024
5 checks passed
@dailai dailai deleted the fix-doris-create-table-sqlerror branch April 17, 2024 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] [Doris] sync from mysql to doris create table error
4 participants