From 16e34cc25a5b22de55d9f71db4ff78d4874d60f9 Mon Sep 17 00:00:00 2001 From: joan Date: Wed, 17 Jun 2020 14:22:30 +0100 Subject: [PATCH] feature(griffin) - support rename column. fixed #223 --- .../io/questdb/cairo/TableWriterTest.java | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/core/src/test/java/io/questdb/cairo/TableWriterTest.java b/core/src/test/java/io/questdb/cairo/TableWriterTest.java index a94102742f5b..73fd451d0751 100644 --- a/core/src/test/java/io/questdb/cairo/TableWriterTest.java +++ b/core/src/test/java/io/questdb/cairo/TableWriterTest.java @@ -2600,27 +2600,6 @@ public boolean wasCalled() { }); } - @Test - public void testRenameColumnCannotRemoveKFile() throws Exception { - renameColumn(new TestFilesFacade() { - int count = 0; - - @Override - public boolean rename(LPSZ name, LPSZ to) { - if (Chars.endsWith(name, "supplier.k")) { - count++; - return false; - } - return super.rename(name, to); - } - - @Override - public boolean wasCalled() { - return count > 0; - } - }); - } - @Test public void testRenameColumnCannotRemoveSomeMetadataPrev() throws Exception { renameColumn(new TestFilesFacade() {