Added batch remove table rows function#67
Added batch remove table rows function#67KrystianNiepsuj wants to merge 3 commits intopaulomarquesc:masterfrom
Conversation
- Added new function (Remove-AzTableRows)to handle deleting items in a batch for faster and more consistent performance. The batching process handles grouping items by partition key. - Added pester v4 tests to tests file to include test coverage of the batching function
|
Hi Paulo, I considered adding this to the Remove-AzTableRow function - but with the additional logic I felt like it would clobber up the size of that function to a degree that was uncomfortable. Please let me know if you feel I should make any changes or if you disagree with this feature. Thanks! |
- Added an additional metric for measuring items in a batch to ensure the limit of 100 items is not surpassed - Changed end of line sequence from CRLF to LF
|
Hi @KrystianNiepsuj , thanks for the contribution, I will evaluate, but would like to check if you can clean up with a new PR since it shows that everything is a new file. This will help future references to the PR. Another question is, there is this PR #69 , which seems interesting and I'm interested on that approach, is that something you could use for the batch deletions? |
|
@KrystianNiepsuj , I had a quick look at this, can you please rename the cmdlet to something like Remove-AzTableRowBatch instead of using plural? Plurals are not compliant with PowerShell design guidelines. |
Added new function (Remove-AzTableRows) to handle deleting items in a
batch for faster and more consistent performance. The batching process
handles grouping items by partition key.
Added pester v4 tests to tests file to include test coverage of the
batching function