zjffdu opened a new pull request #3796:
URL: https://github.com/apache/zeppelin/pull/3796


   ### What is this PR for?
   
   This PR fix the bug in Splitter that text between 2 sql comment is mistaken 
as comment. Unit test is added in this PR as well. Besides that, this PR also 
remove the comment in the middle of sql. e.g. 
   ```
   select a -- comment 1
   from table_1
   ```  
   will be converted to 
   ```
   select a 
   from table_1
   ```
   
   
   ### What type of PR is it?
   [Bug Fix]
   
   ### Todos
   * [ ] - Task
   
   ### What is the Jira issue?
   * https://issues.apache.org/jira/browse/ZEPPELIN-4877
   
   ### How should this be tested?
   * CI pass
   
   ### Screenshots (if appropriate)
   
   ### Questions:
   * Does the licenses files need update? No
   * Is there breaking changes for older versions? No
   * Does this needs documentation? No
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to