-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
FLINK-37154: Adding SimpleByteSchema for PyFlink #26080
base: master
Are you sure you want to change the base?
Conversation
@flinkbot run azure
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: flinkbot ***@***.***>
Sent: Saturday, January 25, 2025 6:43:28 PM
To: apache/flink ***@***.***>
Cc: Chris ***@***.***>; Author ***@***.***>
Subject: Re: [apache/flink] FLINK-37154: Adding SimpleByteSchema for PyFlink (PR #26080)
CI report:
* a91b39a<a91b39a> UNKNOWN
Bot commands The @flinkbot<https://github.com/flinkbot> bot supports the following commands:
* @flinkbot run azure re-run the last Azure build
—
Reply to this email directly, view it on GitHub<#26080 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AARVEMLO2SKMBA4RTU2UWGD2MM6CBAVCNFSM6AAAAABV3CZJFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJTHAZDQMZZHE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
@flinkbot run azure
…________________________________
From: flinkbot ***@***.***>
Sent: Saturday, 25 January 2025 6:43 PM
To: apache/flink ***@***.***>
Cc: Chris ***@***.***>; Author ***@***.***>
Subject: Re: [apache/flink] FLINK-37154: Adding SimpleByteSchema for PyFlink (PR #26080)
CI report:
* a91b39a<a91b39a> UNKNOWN
Bot commands The @flinkbot<https://github.com/flinkbot> bot supports the following commands:
* @flinkbot run azure re-run the last Azure build
—
Reply to this email directly, view it on GitHub<#26080 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AARVEMLO2SKMBA4RTU2UWGD2MM6CBAVCNFSM6AAAAABV3CZJFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJTHAZDQMZZHE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
@flinkbot run azure |
From the discussion in the Jira it seems like this change was for Python datastream. I think introducing a Python raw format to Python would be more consistent with the way Java implements this. WDYT @MartijnVisser . naming nit: SimpleStringSchema is one String, I would read SimpleByteSchema as one byte, I suggested calling it ByteArraySchema. |
Reviewed by Chi on 30/01/2025 Go back to the submitter with review comments. |
@davidradl is the consensus to rename the class from SimpleByteSchema to ByteArraySchema? |
What is the purpose of the change
This pull request enables PyFlink to consume Byte arrays from Kafka enabling consumption of binary formatted data. It is intended to be used similar to the SimpleStringSchema in the value serialiser configuration.
Brief change log
Verifying this change
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: yesDocumentation