GitHub user tinkoff-dwh opened a pull request:

    https://github.com/apache/zeppelin/pull/2347

    [Bug Fix][ZEPPELIN-2554] sql parser fix (backslash)

    ### What is this PR for?
    Fix of parser to correctly parse backslash in quotes.
    
    ### What type of PR is it?
    Bug Fix
    
    ### What is the Jira issue?
    * Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/
    * Put link here, and add [ZEPPELIN-*Jira number*] in PR title, eg. 
[ZEPPELIN-533]
    
    ### How should this be tested?
    Execute `select '\n', ';'`
    
    ### Screenshots (if appropriate)
    before
    
![before](https://cloud.githubusercontent.com/assets/25951039/26098731/14562fa6-3a42-11e7-8361-5869cbfb42d3.png)
    text is parsed as 2 queries `select '\n', '` and `'`
    
    
    after
    
![after](https://cloud.githubusercontent.com/assets/25951039/26098738/18adbaa6-3a42-11e7-97c9-9412de556883.png)
    
    
    ### Questions:
    * Does the licenses files need update? no
    * Is there breaking changes for older versions? no
    * Does this needs documentation? no


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tinkoff-dwh/zeppelin ZEPPELIN-2554

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/2347.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 #2347
    
----
commit 3951aa7053e3b33a0288eac879506845b03a1ca7
Author: Tinkoff DWH <[email protected]>
Date:   2017-05-16T07:29:56Z

    [ZEPPELIN-2554] sql parser fix (backslash)

commit af508f1ca4fbd6765175d01a454b54893054f3bc
Author: Tinkoff DWH <[email protected]>
Date:   2017-05-16T09:19:51Z

    [ZEPPELIN-2554] fix tests

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to