L/positional argument value check

add GroupByOnArrayType or something like that to the method name so that it is clearer why it should throws the exception