apache/incubator-drill — pull request #51 by vkorukanti (2014-04-16 17:37:18+00:00)
Title: DRILL-533: Queries fail with NPE if dfs/cp schema has no default workspa...

...ce but has non-default workspace

We currently add the "default" workspace only if there are no workspaces defined, but we always choose the workspace with "default" name as the default workspace. As in the repro case there is no default workspace, we end with a null.

Fix: Add default workspace if there is no "default" given in storage-engines.json