You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Flink+Flink CDC to synchronize data from MySQL to Doris.
I found that Doris's label generator generates a label name like this: label _7_test_cust_d547cac0-d2d8-4705-8769-d1a03d364272.
This label contains an illegal "-" hyphen.
Such a label name is not recognized and accepted by Doris.
When you need to clean this label, an error will be generated: Encountered:-
By reading the source code, I found that many label generation methods in the LabelGenerator class use the UUID.randomUUID() method to generate random numbers. This is where the "-" symbol is introduced. [1]
[1] UUID is usually a string containing 32 hexadecimal characters in the following form:
550e8400-e29b-41d4-a716-446655440000
Each UUID consists of five parts, separated by hyphens "-".
I think this is a problem and needs to be fixed.
What You Expected?
Replace the "-" in label with "_" to ensure the generation of a legal random label.
Search before asking
Version
Doris:2.1
doris-flink-connector:1.5.0+
Flink:1.16.2
Flink CDC: 3.0.1
What's Wrong?
I use Flink+Flink CDC to synchronize data from MySQL to Doris.
I found that Doris's label generator generates a label name like this: label _7_test_cust_d547cac0-d2d8-4705-8769-d1a03d364272.
This label contains an illegal "-" hyphen.
Such a label name is not recognized and accepted by Doris.
When you need to clean this label, an error will be generated: Encountered:-
By reading the source code, I found that many label generation methods in the LabelGenerator class use the UUID.randomUUID() method to generate random numbers. This is where the "-" symbol is introduced. [1]
[1] UUID is usually a string containing 32 hexadecimal characters in the following form:
550e8400-e29b-41d4-a716-446655440000
Each UUID consists of five parts, separated by hyphens "-".
I think this is a problem and needs to be fixed.
What You Expected?
Replace the "-" in label with "_" to ensure the generation of a legal random label.
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: