github-advanced-security[bot] commented on code in PR #807:
URL:
https://github.com/apache/incubator-baremaps/pull/807#discussion_r1412845882
##########
baremaps-core/src/main/java/org/apache/baremaps/tilestore/postgres/PostgresTileStore.java:
##########
@@ -163,8 +163,8 @@
.replace("?", "??")
.replace("$zoom", String.valueOf(zoom));
var querySqlWithParams = String.format(
- "SELECT ST_AsMVTGeom(t.geom, ST_TileEnvelope(?, ?, ?)) AS geom,
t.tags, t.id " +
- "FROM (%s) AS t WHERE t.geom && ST_TileEnvelope(?, ?, ?,
margin => (64.0/4096))",
+ "SELECT ST_AsMVTGeom(t.geom, ST_TileEnvelope(?, ?, ?)) AS geom,
t.tags - 'id' AS tags, t.id AS id" +
+ "FROM (%s) AS t WHERE t.geom IS NOT NULL AND t.geom &&
ST_TileEnvelope(?, ?, ?, margin => (64.0/4096))",
Review Comment:
## Missing space in string literal
This string appears to be missing a space after 'id'.
[Show more
details](https://github.com/apache/incubator-baremaps/security/code-scanning/851)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]