Skip to content

Commit

Permalink
feature(griffin) - support rename column. fixed #223
Browse files Browse the repository at this point in the history
  • Loading branch information
jaugsburger committed Jun 17, 2020
1 parent b6d4806 commit 16e34cc
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions core/src/test/java/io/questdb/cairo/TableWriterTest.java
Expand Up @@ -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() {
Expand Down

0 comments on commit 16e34cc

Please sign in to comment.