This is an automated email from the ASF dual-hosted git repository.
emaynard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris-tools.git
The following commit(s) were added to refs/heads/main by this push:
new 9c3f19b Disable`If-None-Match` when fetching tables in benchmark
scenarios (#22)
9c3f19b is described below
commit 9c3f19b6396b21a3a6908615e96079385c4d850b
Author: Eric Maynard <[email protected]>
AuthorDate: Mon May 5 09:52:06 2025 -0700
Disable`If-None-Match` when fetching tables in benchmark scenarios (#22)
* remove header
* empty string
* disablecaching
* remove explicit empty etag
---
.../org/apache/polaris/benchmarks/simulations/CreateTreeDataset.scala | 1 +
.../org/apache/polaris/benchmarks/simulations/ReadTreeDataset.scala | 1 +
.../apache/polaris/benchmarks/simulations/ReadUpdateTreeDataset.scala | 1 +
3 files changed, 3 insertions(+)
diff --git
a/benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/simulations/CreateTreeDataset.scala
b/benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/simulations/CreateTreeDataset.scala
index a4f3610..3c26623 100644
---
a/benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/simulations/CreateTreeDataset.scala
+++
b/benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/simulations/CreateTreeDataset.scala
@@ -149,6 +149,7 @@ class CreateTreeDataset extends Simulation {
.baseUrl(cp.baseUrl)
.acceptHeader("application/json")
.contentTypeHeader("application/json")
+ .disableCaching
// Get the configured throughput for tables and views
private val tableThroughput = wp.createTreeDataset.tableThroughput
diff --git
a/benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/simulations/ReadTreeDataset.scala
b/benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/simulations/ReadTreeDataset.scala
index 0bb6244..6c04cb6 100644
---
a/benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/simulations/ReadTreeDataset.scala
+++
b/benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/simulations/ReadTreeDataset.scala
@@ -152,6 +152,7 @@ class ReadTreeDataset extends Simulation {
.baseUrl(cp.baseUrl)
.acceptHeader("application/json")
.contentTypeHeader("application/json")
+ .disableCaching
// Get the configured throughput for tables and views
private val tableThroughput = wp.readTreeDataset.tableThroughput
diff --git
a/benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/simulations/ReadUpdateTreeDataset.scala
b/benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/simulations/ReadUpdateTreeDataset.scala
index 9626e83..4d5ebb9 100644
---
a/benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/simulations/ReadUpdateTreeDataset.scala
+++
b/benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/simulations/ReadUpdateTreeDataset.scala
@@ -142,6 +142,7 @@ class ReadUpdateTreeDataset extends Simulation {
.baseUrl(cp.baseUrl)
.acceptHeader("application/json")
.contentTypeHeader("application/json")
+ .disableCaching
// Get the configured throughput and duration
private val throughput = wp.readUpdateTreeDataset.throughput