zstan commented on a change in pull request #9276:
URL: https://github.com/apache/ignite/pull/9276#discussion_r679902651
##########
File path:
modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/planner/AbstractPlannerTest.java
##########
@@ -674,13 +674,17 @@ protected static IgniteSchema createSchema(TestTable...
tbls) {
}
/** */
- TestTable(String name, RelDataType type, RewindabilityTrait
rewindable, double rowCnt) {
+ TestTable(String name, RelDataType type, RewindabilityTrait
rewindable, Double rowCnt) {
protoType = RelDataTypeImpl.proto(type);
this.rewindable = rewindable;
- this.rowCnt = rowCnt;
this.name = name;
desc = new TestTableDescriptor(this::distribution, type);
+ stat = (rowCnt == null) ? null : new
ObjectStatisticsImpl(rowCnt.longValue(), Collections.emptyMap());
Review comment:
why you didn`t initialize _stat_ if rowCnt == null ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]