Skip to content

Conversation

@kisimple
Copy link

What is the purpose of the change

This patch adds an empty nullary constructor to CRowSerializerConfigSnapshot.

Brief change log

  • Add an empty nullary constructor to CRowSerializerConfigSnapshot.

Verifying this change

This change added tests and can be verified as follows:

  • Add tests to CRowSerializerTest to verify the change.

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
  • The serializers: (yes)
  • The runtime per-record code paths (performance sensitive): (no)
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
  • The S3 file system connector: (no)

Documentation

  • Does this pull request introduce a new feature? (no)

Copy link
Contributor

@tzulitai tzulitai left a comment

Choose a reason for hiding this comment

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

Changes looks good, with one minor comment in the tests. Thanks for fixing this.

new CRowSerializer.CRowSerializerConfigSnapshot()

val serializerConfigSnapshotClass = Class.forName(
"org.apache.flink.table.runtime.types.CRowSerializer$CRowSerializerConfigSnapshot")
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you use classOf[...] here?

@kisimple
Copy link
Author

@tzulitai Thanks for the review. Have updated the PR to address your comment.

@kisimple
Copy link
Author

cc @pnowojski @dawidwys

@dawidwys
Copy link
Contributor

Hi @kisimple there is already a committer taking care of this PR. You don't need to ping more people.

@tzulitai
Copy link
Contributor

LGTM, merging this ...

tzulitai pushed a commit to tzulitai/flink that referenced this pull request Dec 17, 2018
tzulitai pushed a commit to tzulitai/flink that referenced this pull request Dec 17, 2018
tzulitai pushed a commit to tzulitai/flink that referenced this pull request Dec 18, 2018
@asfgit asfgit closed this in 45f9ccc Dec 18, 2018
JTaky pushed a commit to JTaky/flink that referenced this pull request Dec 26, 2018
ashangit pushed a commit to criteo-forks/flink that referenced this pull request Dec 31, 2018
tisonkun pushed a commit to tisonkun/flink that referenced this pull request Jan 17, 2019
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.

5 participants