Skip to content

Commit

Permalink
fixup! Remove unused configuration properties and fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrf committed Aug 14, 2024
1 parent a053882 commit 21dc9f1
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ class DynamoDBInputFormatTest extends munit.FunSuite {
}

test("no configured scanSegments in on-demand billing mode and table size is 100 GB") {
checkPartitions(1024)(tableSizeBytes = 100 * GB, tableProvisionedThroughput = None)
// segments are limited by the default read throughput
checkPartitions(200)(tableSizeBytes = 100 * GB, tableProvisionedThroughput = None)
}

test("no configured scanSegments in on-demand billing mode, table size is 100 GB, and read throughput is 1,000,000") {
checkPartitions(1024)(tableSizeBytes = 100 * GB, tableProvisionedThroughput = None, configuredReadThroughput = Some(1000000))
}

test("no configured scanSegments in provisioned billing mode") {
checkPartitions(10)(tableSizeBytes = 1 * GB, tableProvisionedThroughput = Some((25, 25)))
checkPartitions(10)(tableSizeBytes = 1 * GB, tableProvisionedThroughput = Some((10000, 10000)))
}

test("scanSegments = 42") {
Expand Down

0 comments on commit 21dc9f1

Please sign in to comment.