This is an automated email from the ASF dual-hosted git repository.
bchapuis pushed a commit to branch stream-exception
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git
The following commit(s) were added to refs/heads/stream-exception by this push:
new 3bbd4ad0 Fix union problem that affect some tiles
3bbd4ad0 is described below
commit 3bbd4ad06f47b7cfe0fb9980dc4b24534fa92cae
Author: Bertil Chapuis <[email protected]>
AuthorDate: Sat Dec 2 12:08:47 2023 +0100
Fix union problem that affect some tiles
---
.../java/org/apache/baremaps/tilestore/postgres/PostgresTileStore.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/baremaps-core/src/main/java/org/apache/baremaps/tilestore/postgres/PostgresTileStore.java
b/baremaps-core/src/main/java/org/apache/baremaps/tilestore/postgres/PostgresTileStore.java
index cf2c5d12..60cceffd 100644
---
a/baremaps-core/src/main/java/org/apache/baremaps/tilestore/postgres/PostgresTileStore.java
+++
b/baremaps-core/src/main/java/org/apache/baremaps/tilestore/postgres/PostgresTileStore.java
@@ -153,7 +153,7 @@ public class PostgresTileStore implements TileStore {
// Add a union between queries
if (queryCount > 0) {
- layerSql.append("UNION ");
+ layerSql.append("UNION ALL ");
}
// Add the sql to the layer sql