Skip to content

Commit 92b7d31

Browse files
committed
Update estimatedDocumentCount test for Atlas Data Lake
JAVA-4414
1 parent 98a54e0 commit 92b7d31

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

driver-core/src/test/resources/atlas-data-lake/estimatedDocumentCount.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,25 @@
1515
{
1616
"command_started_event": {
1717
"command": {
18-
"count": "driverdata"
19-
}
18+
"aggregate": "driverdata",
19+
"pipeline": [
20+
{
21+
"$collStats": {
22+
"count": {}
23+
}
24+
},
25+
{
26+
"$group": {
27+
"_id": 1,
28+
"n": {
29+
"$sum": "$count"
30+
}
31+
}
32+
}
33+
]
34+
},
35+
"commandName": "aggregate",
36+
"databaseName": "test"
2037
}
2138
}
2239
]

0 commit comments

Comments
 (0)