[ 
https://issues.apache.org/jira/browse/EAGLE-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15570890#comment-15570890
 ] 

ASF GitHub Bot commented on EAGLE-615:
--------------------------------------

GitHub user chitin opened a pull request:

    https://github.com/apache/incubator-eagle/pull/499

    EAGLE-615 Jsoup parse hive sql return String without line break "\n"

    EAGLE-615 Jsoup parse hive sql return String without line break "\n"
    - ADD "doc.outputSettings().prettyPrint(false);", get element value via 
getWholeText() not text()

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

    $ git pull https://github.com/chitin/incubator-eagle EAGLE615

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

    https://github.com/apache/incubator-eagle/pull/499.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 #499
    
----
commit 7b5d89c37e5d53633077fa7f5907a2a0974b8b1b
Author: chitin <chitin1...@gmail.com>
Date:   2016-10-13T05:19:18Z

    EAGLE-615 Jsoup parse hive sql return String without line break "\n"
    - add "doc.outputSettings().prettyPrint(false);", get element value via 
getWholeText(),not text()

----


> Jsoup parse hive sql return String without line break "\n"
> ----------------------------------------------------------
>
>                 Key: EAGLE-615
>                 URL: https://issues.apache.org/jira/browse/EAGLE-615
>             Project: Eagle
>          Issue Type: Bug
>            Reporter: Lingang Deng
>            Assignee: Lingang Deng
>            Priority: Minor
>
> Jsoup parse hive sql don't add "\n", the result is that there is Exception 
> when ParseDriver parse the hivesql and the sql contains comment, such as "--"
> {code:java}
> NoViableAltException(-1@[150:5: ( ( Identifier LPAREN )=> 
> partitionedTableFunction | tableSource | subQuerySource | virtualTableSource 
> )])
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to