ijokarumawak commented on issue #3528: NIFI-6370: Allow multiple SQL statements in PutDatabaseRecord URL: https://github.com/apache/nifi/pull/3528#issuecomment-501085139 Confirmed that multiple SQL statements delimited by ';' can be executed as expected. LGTM +1. Merging to master. Thanks @mattyb149 ! Note for those who wonder what the regex `(?<!\\);` means, that is a 'negative look behind'. The regex searches `;` and checks backwards and match only if there is NOT a preceding back-slash (`\\` is an escaped `\`). In short, it doesn't treat escaped semi-colon as a SQL delimiter. The regex does not split statements with `\;`, so that semi-colon can be used within a statement. https://www.regular-expressions.info/lookaround.html
---------------------------------------------------------------- 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] With regards, Apache Git Services
