File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
packages/data-service/src Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1152,16 +1152,16 @@ class DataServiceImpl extends WithLogContext implements DataService {
11521152 if (
11531153 // We ignore errors for fetching collStats when requesting on an
11541154 // unsupported collection type: either a view or a ADF
1155- ( message . includes ( 'not valid for Data Lake' ) ||
1156- message . includes ( 'is a view, not a collection' ) ||
1157- // When trying to fetch collectionStats for a collection whose db
1158- // does not exist or the collection itself does not exist, the
1159- // server throws an error. This happens because we show collections
1160- // to the user from their privileges.
1161- message . includes ( `Database [${ databaseName } ] not found` ) ,
1155+ message . includes ( 'not valid for Data Lake' ) ||
1156+ message . includes ( 'is a view, not a collection' ) ||
1157+ // When trying to fetch collectionStats for a collection whose db
1158+ // does not exist or the collection itself does not exist, the
1159+ // server throws an error. This happens because we show collections
1160+ // to the user from their privileges.
1161+ message . includes ( `Database [${ databaseName } ] not found` ) ||
11621162 message . includes (
11631163 `Collection [${ databaseName } .${ collectionName } ] not found`
1164- ) )
1164+ )
11651165 ) {
11661166 return this . _buildCollectionStats ( databaseName , collectionName , { } ) ;
11671167 }
You can’t perform that action at this time.
0 commit comments