Skip to content

Commit 5a0ec67

Browse files
committed
fix check
1 parent 79e2ca7 commit 5a0ec67

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

packages/data-service/src/data-service.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)