Commit d04a241
feat(firestore): support array_agg(), array_agg_distinct(), first(), last() (#16029)
TODO:
- [x] verify docstring
- referred to firebase/firebase-js-sdk#9576 for
docstring text
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>1 parent 7fc88cf commit d04a241Copy full SHA for d04a241
3 files changed
+274-1Lines changed: 274 additions & 1 deletion
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- packages/google-cloud-firestore
- google/cloud/firestore_v1
- tests
- system/pipeline_e2e
- unit/v1
Expand file treeCollapse file tree
Open diff view settings
Collapse file
packages/google-cloud-firestore/google/cloud/firestore_v1/pipeline_expressions.py
Copy file name to clipboardExpand all lines: packages/google-cloud-firestore/google/cloud/firestore_v1/pipeline_expressions.py+80Lines changed: 80 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1410 | 1410 | |
1411 | 1411 | |
1412 | 1412 | |
| 1413 | + |
| 1414 | + |
| 1415 | + |
| 1416 | + |
| 1417 | + |
| 1418 | + |
| 1419 | + |
| 1420 | + |
| 1421 | + |
| 1422 | + |
| 1423 | + |
| 1424 | + |
| 1425 | + |
| 1426 | + |
| 1427 | + |
| 1428 | + |
| 1429 | + |
| 1430 | + |
| 1431 | + |
| 1432 | + |
| 1433 | + |
| 1434 | + |
| 1435 | + |
| 1436 | + |
| 1437 | + |
| 1438 | + |
| 1439 | + |
| 1440 | + |
| 1441 | + |
| 1442 | + |
| 1443 | + |
| 1444 | + |
| 1445 | + |
| 1446 | + |
| 1447 | + |
| 1448 | + |
| 1449 | + |
| 1450 | + |
| 1451 | + |
| 1452 | + |
| 1453 | + |
| 1454 | + |
| 1455 | + |
| 1456 | + |
| 1457 | + |
| 1458 | + |
| 1459 | + |
| 1460 | + |
| 1461 | + |
| 1462 | + |
| 1463 | + |
| 1464 | + |
| 1465 | + |
| 1466 | + |
| 1467 | + |
| 1468 | + |
| 1469 | + |
| 1470 | + |
| 1471 | + |
| 1472 | + |
| 1473 | + |
| 1474 | + |
| 1475 | + |
| 1476 | + |
| 1477 | + |
| 1478 | + |
| 1479 | + |
| 1480 | + |
| 1481 | + |
| 1482 | + |
| 1483 | + |
| 1484 | + |
| 1485 | + |
| 1486 | + |
| 1487 | + |
| 1488 | + |
| 1489 | + |
| 1490 | + |
| 1491 | + |
| 1492 | + |
1413 | 1493 | |
1414 | 1494 | |
1415 | 1495 | |
|
Collapse file
packages/google-cloud-firestore/tests/system/pipeline_e2e/aggregates.yaml
Copy file name to clipboardExpand all lines: packages/google-cloud-firestore/tests/system/pipeline_e2e/aggregates.yaml+158-1Lines changed: 158 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
281 | 281 | |
282 | 282 | |
283 | 283 | |
284 | | - |
| 284 | + |
| 285 | + |
| 286 | + |
| 287 | + |
| 288 | + |
| 289 | + |
| 290 | + |
| 291 | + |
| 292 | + |
| 293 | + |
| 294 | + |
| 295 | + |
| 296 | + |
| 297 | + |
| 298 | + |
| 299 | + |
| 300 | + |
| 301 | + |
| 302 | + |
| 303 | + |
| 304 | + |
| 305 | + |
| 306 | + |
| 307 | + |
| 308 | + |
| 309 | + |
| 310 | + |
| 311 | + |
| 312 | + |
| 313 | + |
| 314 | + |
| 315 | + |
| 316 | + |
| 317 | + |
| 318 | + |
| 319 | + |
| 320 | + |
| 321 | + |
| 322 | + |
| 323 | + |
| 324 | + |
| 325 | + |
| 326 | + |
| 327 | + |
| 328 | + |
| 329 | + |
| 330 | + |
| 331 | + |
| 332 | + |
| 333 | + |
| 334 | + |
| 335 | + |
| 336 | + |
| 337 | + |
| 338 | + |
| 339 | + |
| 340 | + |
| 341 | + |
| 342 | + |
| 343 | + |
| 344 | + |
| 345 | + |
| 346 | + |
| 347 | + |
| 348 | + |
| 349 | + |
| 350 | + |
| 351 | + |
| 352 | + |
| 353 | + |
| 354 | + |
| 355 | + |
| 356 | + |
| 357 | + |
| 358 | + |
| 359 | + |
| 360 | + |
| 361 | + |
| 362 | + |
| 363 | + |
| 364 | + |
| 365 | + |
| 366 | + |
| 367 | + |
| 368 | + |
| 369 | + |
| 370 | + |
| 371 | + |
| 372 | + |
| 373 | + |
| 374 | + |
| 375 | + |
| 376 | + |
| 377 | + |
| 378 | + |
| 379 | + |
| 380 | + |
| 381 | + |
| 382 | + |
| 383 | + |
| 384 | + |
| 385 | + |
| 386 | + |
| 387 | + |
| 388 | + |
| 389 | + |
| 390 | + |
| 391 | + |
| 392 | + |
| 393 | + |
| 394 | + |
| 395 | + |
| 396 | + |
| 397 | + |
| 398 | + |
| 399 | + |
| 400 | + |
| 401 | + |
| 402 | + |
| 403 | + |
| 404 | + |
| 405 | + |
| 406 | + |
| 407 | + |
| 408 | + |
| 409 | + |
| 410 | + |
| 411 | + |
| 412 | + |
| 413 | + |
| 414 | + |
| 415 | + |
| 416 | + |
| 417 | + |
| 418 | + |
| 419 | + |
| 420 | + |
| 421 | + |
| 422 | + |
| 423 | + |
| 424 | + |
| 425 | + |
| 426 | + |
| 427 | + |
| 428 | + |
| 429 | + |
| 430 | + |
| 431 | + |
| 432 | + |
| 433 | + |
| 434 | + |
| 435 | + |
| 436 | + |
| 437 | + |
| 438 | + |
| 439 | + |
| 440 | + |
| 441 | + |
Collapse file
packages/google-cloud-firestore/tests/unit/v1/test_pipeline_expressions.py
Copy file name to clipboardExpand all lines: packages/google-cloud-firestore/tests/unit/v1/test_pipeline_expressions.py+36Lines changed: 36 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1583 | 1583 | |
1584 | 1584 | |
1585 | 1585 | |
| 1586 | + |
| 1587 | + |
| 1588 | + |
| 1589 | + |
| 1590 | + |
| 1591 | + |
| 1592 | + |
| 1593 | + |
| 1594 | + |
| 1595 | + |
| 1596 | + |
| 1597 | + |
| 1598 | + |
| 1599 | + |
| 1600 | + |
| 1601 | + |
| 1602 | + |
| 1603 | + |
| 1604 | + |
| 1605 | + |
| 1606 | + |
| 1607 | + |
| 1608 | + |
| 1609 | + |
| 1610 | + |
| 1611 | + |
| 1612 | + |
| 1613 | + |
| 1614 | + |
| 1615 | + |
| 1616 | + |
| 1617 | + |
| 1618 | + |
| 1619 | + |
| 1620 | + |
| 1621 | + |
0 commit comments