Skip to content
Merged
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 @@ -70,17 +70,13 @@ public static String convertKey(Object key, Schema keySchema) {
}

switch (schemaType) {
case BOOLEAN:
case INT8:
case INT16:
case INT32:
case INT64:
case FLOAT32:
case FLOAT64:
case STRING:
return String.valueOf(key);
default:
// TODO: support more key types, also should we support BOOLEAN and FLOAT at all?
throw new DataException(schemaType.name() + "is not supported as the document id.");
}
}
Expand Down