GitHub user kkhatua opened a pull request:
https://github.com/apache/drill/pull/1137
DRILL-6185: Fixed error while displaying system profiles via the Web-UI
The bug lies in the absence of a text plan for profiles related to system
queries:
e.g.
```
use dfs.tmp;
show tables;
alter session reset all;
```
This addresses that by ensuring an empty string is substituted and the
tokenization is done correctly.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kkhatua/drill DRILL-6185
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/1137.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1137
----
commit aea75f86a945ea901165458707019edebc0dd91a
Author: Kunal Khatua <kkhatua@...>
Date: 2018-02-27T20:10:06Z
DRILL-6185: Fixed error while displaying system profiles via the Web-UI
The bug lies in the absence of a text plan for profiles related to system
queries:
e.g.
{code:sql}
use dfs.tmp;
show tables;
alter session reset all;
{code}
This addresses that by ensuring an empty string is substituted and the
tokenization is done correctly.
----
---