asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Maxon (Code Review)" <>
Subject Change in asterixdb[master]: Added the UUID constructor and changed the relevant document...
Date Tue, 28 Jul 2015 15:56:28 GMT
Ian Maxon has posted comments on this change.

Change subject: Added the UUID constructor and changed the relevant documentation

Patch Set 3: Code-Review+1


Sorry for taking a bit :) Looks pretty good, just a few thoughts.
File asterix-runtime/src/main/java/edu/uci/ics/asterix/runtime/evaluators/constructors/

Line 45:  */
Not sure how all the indentation got changed to tabs. It should be 3 spaces I believe.

Line 104: 								msb <<= 16;
The 9 here is kind of 'magic', hard to know it's actually skipping the hyphen. Can we add
a comment or have it be offset += 8; offset+=1 or similar?.

Line 111: 								msb <<= 16;
Shouldn't this be msb <<=8?

Line 150: 								tmpLongVal = tmpLongVal * 16 + tmpIntVal;
Why *16?

Line 156: 						System.out.println("");
This doesn't belong here.

Line 161: 					private int transformHexCharToInt(byte val)
Cool. This should be fast hopefully. I believe switch/cases beyond a certain size get turned
into branch tables in good compilers.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I2276bf2b44975b13c99d56f448ae3e9e4a74b04e
Gerrit-PatchSet: 3
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Taewoo Kim <>
Gerrit-Reviewer: Ian Maxon <>
Gerrit-Reviewer: Jenkins <>
Gerrit-Reviewer: Taewoo Kim <>
Gerrit-HasComments: Yes

View raw message