File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
fe/fe-core/src/main/java/org/apache/doris/service Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -895,13 +895,13 @@ public TDescribeTablesResult describeTables(TDescribeTablesParams params) throws
895895 if (db != null ) {
896896 for (String tableName : tables ) {
897897 TableIf table = db .getTableNullableIfException (tableName );
898- if (table .isTemporary ()) {
899- // because we return all table names to be,
900- // so when we skip temporary table, we should add a offset here
901- tablesOffset .add (columns .size ());
902- continue ;
903- }
904898 if (table != null ) {
899+ if (table .isTemporary ()) {
900+ // because we return all table names to be,
901+ // so when we skip temporary table, we should add a offset here
902+ tablesOffset .add (columns .size ());
903+ continue ;
904+ }
905905 table .readLock ();
906906 try {
907907 List <Column > baseSchema = table .getBaseSchemaOrEmpty ();
You can’t perform that action at this time.
0 commit comments