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 @@ -911,13 +911,13 @@ public TDescribeTablesResult describeTables(TDescribeTablesParams params) throws
911911 if (db != null ) {
912912 for (String tableName : tables ) {
913913 TableIf table = db .getTableNullableIfException (tableName );
914- if (table .isTemporary ()) {
915- // because we return all table names to be,
916- // so when we skip temporary table, we should add a offset here
917- tablesOffset .add (columns .size ());
918- continue ;
919- }
920914 if (table != null ) {
915+ if (table .isTemporary ()) {
916+ // because we return all table names to be,
917+ // so when we skip temporary table, we should add a offset here
918+ tablesOffset .add (columns .size ());
919+ continue ;
920+ }
921921 table .readLock ();
922922 try {
923923 List <Column > baseSchema = table .getBaseSchemaOrEmpty ();
You can’t perform that action at this time.
0 commit comments