Skip to content

Commit

Permalink
Fixed a bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed Aug 1, 2015
1 parent a84ed2e commit 72c5d8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public final class UnsafeFixedWidthAggregationMap {
*/
public static boolean supportsAggregationBufferSchema(StructType schema) {
for (StructField field: schema.fields()) {
if (!UnsafeRow.settableFieldTypes.contains(field.dataType())) {
if (!UnsafeRow.isFixedLength(field.dataType())) {
return false;
}
}
Expand Down

0 comments on commit 72c5d8e

Please sign in to comment.