oshdb icon indicating copy to clipboard operation
oshdb copied to clipboard

Update javadoc of the groupByEntity method

Open bonaparten opened this issue 4 years ago • 0 comments

Bug Description

The method groupByEntity in the MapReducer class throws an UnsupportedOperationException with the following message: groupByEntity() must be called before any map or flatMap transformation functions have been set if it is called after map or flatMap functions. The javadoc of the method informs that This needs to be called before any map or flatMap transformation functions have been set. However, the exception is thrown even if groupByEntity is called after a filter function (or maybe also after other functions?).

Expected behaviour

The exception and the javadoc should mention for what other functions the method needs to be called before.

System information

  • OSHDB Version: 0.6.4

bonaparten avatar Jun 23 '21 08:06 bonaparten