We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No response
2.11.x
2.1.1
1.15.3
None
If you write the value of a field in Chinese in flink sql, garbled characters appear (在flink sql中写死某个字段的值为中文,会乱码)
1.Flink SQL: CREATE TABLE datagen ( f_sequence INT, f_random INT, f_random_str STRING, ts AS localtimestamp, WATERMARK FOR ts AS ts ) WITH ( 'connector' = 'datagen', -- optional options测试 -- 'rows-per-second'='5', 'fields.f_sequence.kind'='sequence', 'fields.f_sequence.start'='1', 'fields.f_sequence.end'='500', 'fields.f_random.min'='1', 'fields.f_random.max'='500', 'fields.f_random_str.length'='10' ); CREATE TABLE print_table ( f_sequence INT, f_random INT, f_random_str STRING, test_field STRING ) WITH ( 'connector' = 'print' ); INSERT INTO print_table select f_sequence,f_random,f_random_str,'测试' from datagen; 2.output: [38, 313, 7ca456f4da, ??????] 3.Job Manager: CREATE TABLE datagen ( f_sequence INT, f_random INT, f_random_str STRING, ts AS localtimestamp, WATERMARK FOR ts AS ts ) WITH ( 'connector' = 'datagen', -- optional options?????? -- 'rows-per-second'='5', 'fields.f_sequence.kind'='sequence', 'fields.f_sequence.start'='1', 'fields.f_sequence.end'='500', 'fields.f_random.min'='1', 'fields.f_random.max'='500', 'fields.f_random_str.length'='10' ); CREATE TABLE print_table ( f_sequence INT, f_random INT, f_random_str STRING, test_field STRING ) WITH ( 'connector' = 'print' ); INSERT INTO print_table select f_sequence,f_random,f_random_str,'??????' from datagen;
The text was updated successfully, but these errors were encountered:
@caicancai I want to give it a try
Sorry, something went wrong.
Cool. Looking forward to your PR
Has this issue been resolved?
skyoct
No branches or pull requests
Search before asking
Java Version
No response
Scala Version
2.11.x
StreamPark Version
2.1.1
Flink Version
1.15.3
deploy mode
None
What happened
If you write the value of a field in Chinese in flink sql, garbled characters appear
(在flink sql中写死某个字段的值为中文,会乱码)
Error Exception
Screenshots
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: