cubejs icon indicating copy to clipboard operation
cubejs copied to clipboard

fix: return null instead of crashing when no solution is found

Open sven-strothoff opened this issue 6 years ago • 0 comments

When no solution can be found cubejs crashes while trying to access null.

This happens when maxDepth is set too low for the current scramble. To reproduce this bug just set it to 1 (see also the added test).

I usually don't use CoffeScript, so I hope the syntax is ok. Otherwise, feel free to edit it. :)

sven-strothoff avatar May 24 '19 15:05 sven-strothoff