From 7b62fcc10b879ed03b48213f1550996f75595ee8 Mon Sep 17 00:00:00 2001 From: Vlad Ilyushchenko Date: Mon, 17 May 2021 14:18:32 +0100 Subject: [PATCH] fix(sql): fixed "invalid column" error, which was caused by incorrect top-down column propagation (#1027) --- core/src/test/java/io/questdb/griffin/O3FailureTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/src/test/java/io/questdb/griffin/O3FailureTest.java b/core/src/test/java/io/questdb/griffin/O3FailureTest.java index 0beaef624..14321c4ae 100644 --- a/core/src/test/java/io/questdb/griffin/O3FailureTest.java +++ b/core/src/test/java/io/questdb/griffin/O3FailureTest.java @@ -211,6 +211,14 @@ public class O3FailureTest extends AbstractO3Test { } return super.allocate(fd, size); } + + @Override + public boolean close(long fd) { + if (fd == theFd) { + theFd = -1; + } + return super.close(fd); + } }; @Test -- GitLab