[GitHub] flink pull request: [FLINK-3868] [core] Specialized CopyableValue ...

2016-05-26 Thread StephanEwen
Github user StephanEwen commented on the pull request:

https://github.com/apache/flink/pull/1983#issuecomment-221873359
  
Thanks, Greg, this looks good all in all!

A few thinks we should do before merging this, in my opinion:
  - I think all classes should be annotated with `@Internal`, because they 
should not be used directly by users.

  - The `NullValueComparator` can be simplified to not really operate on 
the values at all. All NullValues are always the same. They are all equal, hash 
to a constant value, etc.

  - We were trying to get rid of the `Record` type - it was part of a very 
old legacy API. It is still in there because some people ended up using it, but 
I would like to add as little dependency to it as possible. Hence I'd suggest 
to drop the `RecordSerializer`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink pull request: [FLINK-3868] [core] Specialized CopyableValue ...

2016-05-11 Thread greghogan
GitHub user greghogan opened a pull request:

https://github.com/apache/flink/pull/1983

[FLINK-3868] [core] Specialized CopyableValue serializers and comparators

Update ValueTypeInfo to use specialized serializers and comparators, many 
of which were already present.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/greghogan/flink 
3868_specialized_copyablevalue_serializers_and_comparators

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/flink/pull/1983.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1983


commit c3359933b67f4488e1ed7cd4f2632ee21cdb548e
Author: Greg Hogan 
Date:   2016-05-04T20:56:16Z

[FLINK-3868] [core] Specialized CopyableValue serializers and comparators

Update ValueTypeInfo to use specialized serializers and comparators,
many of which were already present.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---