Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ else if(value instanceof Utf8){
value = new String(utf8Bytes, "UTF-8");
}

else if(value instanceof GenericData.Fixed){
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@p1ck , Thank you for the contribution. Please add a unit tests that fails without this change but works with it. This way we know it works and it won't fail again if somebody changes the code.

value = ((GenericData.Fixed) value).bytes();
}

eventData.put(field.name(), value);
}
return eventData;
Expand Down
Loading