Commit dc3d037
Subpartitioning: Adds support for Prefix Partition Key searches for sub partitioned containers (#3109)
* 1st round of changes to support subpartitioning for ChangeFeed
* name change and moved a method to FeedRangePartitionKey
* support for prefix partition change feed and query including unit and emulator tests. need to verify using FeedRange with QueryIterator
* splitting out unit tests from emulator tests
* 1st round of changes to support subpartitioning for ChangeFeed
* name change and moved a method to FeedRangePartitionKey
* support for prefix partition change feed and query including unit and emulator tests. need to verify using FeedRange with QueryIterator
* splitting out unit tests from emulator tests
* moved logic to choose for prefix partition query and change feed
* additional conditional to check for MultiHash partitionkeydefinition kind
* removed unnecessary using
* cleanup
* unnecessary using
* removed PREVIEW from proj
* unit tests for ResolveFeedRangeBasedOnPrefixContainerAsync
* change access modifier
* since I changed to static, needed to fix tests
* dealing with some testing nits
* removed Console.Writeline
* slight change in test use containerProperties and partitionKeyDefinition
* big fix for resolve feedrange, changes to error behavior, added additional test coverage
* test changes
* ran updateContracts.ps1
* reverting to 3ad5309
* Ran Update Contracts
* ran updateContracts.ps1
* UpdateContracts.ps1
* updatecontracts
* removed bad check from test, removed changes from updatecontracts.ps1
* revert UpdateContracts changes
* Reverting to 756a123
* removed accidental change from changelog
* removed unwanted change from Directory.build.props
* added test clean up
* removed console.writelines
* updates to query test
* removed preview flag
* ran UpdateContrats.ps1
* no longer recread feedRange for queries unless using prefix pk
* simplified if statement
* fixed bug
---------
Co-authored-by: Nalu Tripician <[email protected]>1 parent f262f89 commit dc3d037
File tree
6 files changed
+809
-186
lines changed- Microsoft.Azure.Cosmos
- src
- Handler
- Resource/Container
- tests
- Microsoft.Azure.Cosmos.EmulatorTests
- BaselineTest/TestBaseline
- Microsoft.Azure.Cosmos.Tests
6 files changed
+809
-186
lines changedLines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
164 | 172 | | |
165 | 173 | | |
166 | 174 | | |
| |||
480 | 488 | | |
481 | 489 | | |
482 | 490 | | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
483 | 512 | | |
484 | 513 | | |
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
959 | 959 | | |
960 | 960 | | |
961 | 961 | | |
962 | | - | |
963 | | - | |
964 | | - | |
965 | | - | |
966 | | - | |
967 | | - | |
968 | 962 | | |
969 | 963 | | |
970 | 964 | | |
| |||
Lines changed: 40 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
41 | 47 | | |
42 | 48 | | |
43 | 49 | | |
| |||
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
75 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
76 | 95 | | |
77 | 96 | | |
78 | 97 | | |
| |||
1634 | 1653 | | |
1635 | 1654 | | |
1636 | 1655 | | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
1637 | 1662 | | |
1638 | 1663 | | |
1639 | 1664 | | |
| |||
1808 | 1833 | | |
1809 | 1834 | | |
1810 | 1835 | | |
1811 | | - | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
| 1848 | + | |
| 1849 | + | |
1812 | 1850 | | |
1813 | 1851 | | |
1814 | 1852 | | |
| |||
0 commit comments