You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@baremaps.apache.org by "LeonardBesseau (via GitHub)" <gi...@apache.org> on 2023/03/08 22:06:30 UTC

[GitHub] [incubator-baremaps] LeonardBesseau commented on pull request #598: Fix missing license

LeonardBesseau commented on PR #598:
URL: https://github.com/apache/incubator-baremaps/pull/598#issuecomment-1460940197

   It seems that ExecuteSql does not support a semi column in the comments
   
   the simplest way would be to remove all the comments while loading the file: 
   https://github.com/apache/incubator-baremaps/blob/b999c68a371ba9ffc7ca2ca5815746cdcf6bcfd1/baremaps-core/src/main/java/org/apache/baremaps/workflow/tasks/ExecuteSql.java#L32
   to
   ```java
   var queries = Arrays.stream(Files.readString(file).replaceAll("--.*", "").split(";"));
   ```


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

To unsubscribe, e-mail: commits-unsubscribe@baremaps.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org