GitHub user alexott opened a pull request:
https://github.com/apache/zeppelin/pull/2959
ZEPPELIN-3443 - Fix regex to support optional space before ;
### What is this PR for?
Almost all regular expressions, except for DESCRIBE MATERIALIZED VIEW in
the CQL interpreter allow to have an optional space before closing ; character.
There is some code that uses these spaces before ; character, so the command
fails when you copy/past commands.
This PR fixes it
### What type of PR is it?
Bug Fix
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-3443
### How should this be tested?
Fix is trivial and doesn't require unit test, or extra testing
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/alexott/zeppelin fix-mviews-regex
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2959.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 #2959
----
commit 1efccc3efe3267c98def69afd28904f6d1c3e304
Author: Alex Ott <alex.ott@...>
Date: 2018-05-04T12:23:19Z
Fix regex to support optional space before ;
----
---