Skip to content
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

Vlad udf take3 #366

Closed
wants to merge 34 commits into from
Closed

Vlad udf take3 #366

wants to merge 34 commits into from

Conversation

vpatryshev
Copy link
Contributor

@vpatryshev vpatryshev commented Oct 18, 2016

This change is Reviewable

vpatryshev and others added 30 commits October 12, 2016 15:03
Chunk - added a universal setter.
TypeMap - slightly improved the icing locking message
NewChunkTest - made the test more detailed
C16ChunkTest - added a test case for setting uuid
TestUtil - added a registry for objects to be dropped at the end of a test
Chunk - added a universal setter.
TypeMap - slightly improved the icing locking message
NewChunkTest - made the test more detailed
C16ChunkTest - added a test case for setting uuid
TestUtil - added a registry for objects to be dropped at the end of a test
…her bytes of a UUID are all zeros.

Added a bunch of test cases for that in C16ChunkTest.
C16Chunk - code deduplication; added a uuid setter (two longs); some encapsulation (replacing exporting _LO_NA, _HI_NA with method isNA())
Chunk - added addUUID() methods, one takes a UUID. Checking if UUID has a valid value.
NewChunk - implemented behavior for UUID
BufferedString - fixed an exception in toString()
FVecParseWriter, ParseUUID - switched from long[] to UUID for representing uuids
MRUtils.sampleFrame - checking value for a NA (or else it can throw)

Added test cases for illegal uuids.
Made sure ColumnTest passes, with the uuids it generates, etc.
So it's a step in the direction of typed UDF.
Next will specialize the ops, so we won't be able to add a date to a vector of uuids etc.

Also, PrettyPrint.UUID renamed to PrettyPrint.uuid, etc.
Chunk - added a universal setter.
TypeMap - slightly improved the icing locking message
NewChunkTest - made the test more detailed
C16ChunkTest - added a test case for setting uuid
TestUtil - added a registry for objects to be dropped at the end of a test
Chunk - added a universal setter.
TypeMap - slightly improved the icing locking message
NewChunkTest - made the test more detailed
C16ChunkTest - added a test case for setting uuid
TestUtil - added a registry for objects to be dropped at the end of a test
…her bytes of a UUID are all zeros.

Added a bunch of test cases for that in C16ChunkTest.
C16Chunk - code deduplication; added a uuid setter (two longs); some encapsulation (replacing exporting _LO_NA, _HI_NA with method isNA())
Chunk - added addUUID() methods, one takes a UUID. Checking if UUID has a valid value.
NewChunk - implemented behavior for UUID
BufferedString - fixed an exception in toString()
FVecParseWriter, ParseUUID - switched from long[] to UUID for representing uuids
MRUtils.sampleFrame - checking value for a NA (or else it can throw)

Added test cases for illegal uuids.
Made sure ColumnTest passes, with the uuids it generates, etc.
So it's a step in the direction of typed UDF.
Next will specialize the ops, so we won't be able to add a date to a vector of uuids etc.

Also, PrettyPrint.UUID renamed to PrettyPrint.uuid, etc.
# Conflicts:
#	h2o-core/src/main/java/hex/Model.java
#	h2o-core/src/main/java/water/fvec/Chunk.java
#	h2o-core/src/main/java/water/fvec/Col.java
#	h2o-core/src/main/java/water/fvec/Vec.java
#	h2o-core/src/test/java/water/TestUtil.java
#	h2o-core/src/test/java/water/fvec/ColumnTest.java
#	h2o-core/src/test/java/water/fvec/NewChunkTest.java
#	h2o-docs/src/front/index.html
Removed setAny, as it's not required anymore, we have typed chunks.
Col: removed unreferenced classes, made them anonymous.
Made sure data type code is passed to Vec before it's being filled. Still a hack.
@vpatryshev vpatryshev closed this Oct 18, 2016
@h2o-ops
Copy link
Collaborator

h2o-ops commented Oct 19, 2016

Tests passed!

@vpatryshev vpatryshev deleted the Vlad_udf_take3 branch November 12, 2016 00:22
@DinukaH2O DinukaH2O mentioned this pull request Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants