[
https://issues.apache.org/jira/browse/IGNITE-23415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17889544#comment-17889544
]
Evgeny Stanilovsky commented on IGNITE-23415:
---------------------------------------------
[~jooger] can you make a review plz ?
> NumericBinaryOperationsExecutionTest division by zero
> -----------------------------------------------------
>
> Key: IGNITE-23415
> URL: https://issues.apache.org/jira/browse/IGNITE-23415
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Affects Versions: 3.0.0-beta1
> Reporter: Mikhail Efremov
> Assignee: Evgeny Stanilovsky
> Priority: Minor
> Labels: ignite-3
> Fix For: 3.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> *Description*
> In 2 tests that are testing modulo operation in approx. 1 out of 200 runs
> may division by zero SqlException be thrown. The reason is a value generator
> that assumes that zero-value is included
> {{SqlTestUtils#generateValueByType(org.apache.ignite.sql.ColumnType, int,
> int)}}. There may be several solutions like changing the bottom value in
> generator by 1.
> *Motivation*
> Tests shouldn't be fallen because of randomly generated zero value.
> *Definition of Done*
> - {{NumericBinaryOperationsExecutionTest#moduloOp}} doesn't fail with
> division by zero.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)