-
Notifications
You must be signed in to change notification settings - Fork 13k
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-32977] Deprecate IOReadableWritable serialization in Path #23072
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@WencongLiu Thanks for contribution, LGTM
6d650b7
to
baea50e
Compare
* @return the path | ||
* @throws IOException if an error happened. | ||
*/ | ||
public static Path deserializeFromDataInputView(DataInputView in) throws IOException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should deduplicate, by calling deserializeFromDataInputView
from read
.
throw new IOException("Error reconstructing URI", e); | ||
} | ||
} | ||
return result; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we return null
if isNotNull
is false?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I wonder if we should forbid null values.
fe1e720
to
35aeceb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Merging.
What is the purpose of the change
Deprecate IOReadableWritable serialization in Path.
Brief change log
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: (yes)Documentation