Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import tech.ydb.jdbc.common.YdbFunctions;
import tech.ydb.jdbc.context.SchemeExecutor;
import tech.ydb.jdbc.context.YdbValidator;
import tech.ydb.proto.scheme.SchemeOperationProtos;
import tech.ydb.scheme.description.Entry;
import tech.ydb.scheme.description.ListDirectoryResult;
import tech.ydb.table.description.TableColumn;
import tech.ydb.table.description.TableDescription;
Expand Down Expand Up @@ -725,7 +725,8 @@ private class TableRecord implements Comparable<TableRecord> {
this.name = name;
this.isSystem = name.startsWith(".sys/")
|| name.startsWith(".sys_health/")
|| name.startsWith(".sys_health_dev/");
|| name.startsWith(".sys_health_dev/")
|| name.startsWith(".metadata/");
}

@Override
Expand Down Expand Up @@ -1349,7 +1350,7 @@ private List<String> tables(String databasePrefix, String path, Predicate<String
List<String> tables = new ArrayList<>();
String pathPrefix = withSuffix(path);

for (SchemeOperationProtos.Entry entry : result.getChildren()) {
for (Entry entry : result.getEntryChildren()) {
String tableName = entry.getName();
String fullPath = pathPrefix + tableName;
String tablePath = fullPath.substring(databasePrefix.length());
Expand Down