Skip to content

Commit

Permalink
System Keyspace 정렬시 앞쪽에 오도록 변경 및 system keyspace 인지 구분
Browse files Browse the repository at this point in the history
  • Loading branch information
seungh0 committed Jul 4, 2024
1 parent 48e10b8 commit 29eb0ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public ClusterTableGetResult getTable(CqlSession session, ClusterTableGetArgs ar
}

String tableDescribe = "";
if (args.isWithTableDescribe()) {
if (!CassandraSystemKeyspace.isSystemKeyspace(args.getKeyspace()) && args.isWithTableDescribe()) {
TableMetadata tableMetadata = session.getMetadata().getKeyspace(args.getKeyspace())
.orElseThrow(() -> new RuntimeException("not found keyspace"))
.getTable(args.getTable())
Expand Down

0 comments on commit 29eb0ed

Please sign in to comment.