This is an automated email from the ASF dual-hosted git repository. amashenkov pushed a commit to branch ignite-21580 in repository https://gitbox.apache.org/repos/asf/ignite-3.git
commit 99cf852c80619296d396ba994ec1960d707259b2 Author: amashenkov <andrey.mashen...@gmail.com> AuthorDate: Wed Mar 27 20:34:26 2024 +0300 Fix typo --- .../ignite/internal/sql/engine/metadata/cost/IgniteCostFactory.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/metadata/cost/IgniteCostFactory.java b/modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/metadata/cost/IgniteCostFactory.java index 81a623715d..78d481846d 100644 --- a/modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/metadata/cost/IgniteCostFactory.java +++ b/modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/metadata/cost/IgniteCostFactory.java @@ -19,6 +19,7 @@ package org.apache.ignite.internal.sql.engine.metadata.cost; import org.apache.calcite.plan.RelOptCost; import org.apache.calcite.plan.RelOptCostFactory; +import org.jetbrains.annotations.TestOnly; /** * Ignite cost factory. Creates a desired cost with regards to the weight of each particular resource. @@ -47,8 +48,9 @@ public class IgniteCostFactory implements RelOptCostFactory { } /** - * Cerates a factory with provided weights. Each weight should be non negative value. + * Crates a factory with provided weights. Each weight should be non negative value. */ + @TestOnly public IgniteCostFactory(double cpuWeight, double memoryWeight, double ioWeight, double networkWeight) { if (cpuWeight < 0 || memoryWeight < 0 || ioWeight < 0 || networkWeight < 0) { throw new IllegalArgumentException("Weight should be non negative: cpu=" + cpuWeight