brucemen711 edited a comment on pull request #4788:
URL: 
https://github.com/apache/incubator-dolphinscheduler/pull/4788#issuecomment-801622428


   > > > If input the sql `SELECT CONCAT('11',';','33');`,use `;` as separator 
will not suitable.
   > > > But I don't find suitable method to avoid it,wish everyone to give the 
solution.
   > > 
   > > 
   > > Hi @lgcareer , maybe we using regex to remove invalid `;` on SQL 
statement. For example:
   > > ```
   > > select concat('', ';', '');
   > > select concat('1000', ';', '1000');
   > > ```
   > > 
   > > 
   > > Then we split 2 statement:
   > > `select concat('', ';', '') and select concat('1000', ';', '1000')`
   > > I am using Hue (Cloudera) and I get the same behaviour.
   > 
   > I think it's ok.
   
   I have implemented this feature with similar hue function and added some 
test cases. Please take a look @lgcareer 


----------------------------------------------------------------
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