Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

Name=Hive
name=hive
version=0.9.0-amplab-4
version=0.9.0-amplab-5
year=2011

javac.debug=on
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public IntWritable evaluate(TimestampWritable i) {
if (i == null) {
return null;
} else {
intWritable.set(i.getSeconds());
intWritable.set((int) i.getSeconds());
return intWritable;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ static Object deserialize(InputByteBuffer buffer, TypeInfo type,
case TIMESTAMP:
TimestampWritable t = (reuse == null ? new TimestampWritable() :
(TimestampWritable) reuse);
byte[] bytes = new byte[8];
byte[] bytes = new byte[TimestampWritable.BINARY_SORTABLE_LENGTH];

for (int i = 0; i < bytes.length; i++) {
bytes[i] = buffer.read(invert);
Expand Down
Loading