Skip to content

Commit

Permalink
Adjusting how we "ignore" the column
Browse files Browse the repository at this point in the history
  • Loading branch information
Paultagoras committed Jun 27, 2024
1 parent 5a59e06 commit 162b054
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,6 @@ public Table describeTable(String tableName) {
continue;
}

if (fieldDescriptor.isSubcolumn() && fieldDescriptor.getName().endsWith(".null")) {
LOGGER.debug("Skipping column {} as it is a subcolumn from a Nullable", fieldDescriptor.getName());
continue;
}

if (fieldDescriptor.hasDefault()) {
table.hasDefaults(true);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void extractNullables() {
Table table = chc.describeTable(tableName);
assertNotNull(table);
assertEquals(table.getRootColumnsList().size(), 2);
assertEquals(table.getAllColumnsList().size(), 2);
assertEquals(table.getAllColumnsList().size(), 3);
ClickHouseTestHelpers.dropTable(chc, tableName);
}

Expand Down

0 comments on commit 162b054

Please sign in to comment.