[
https://issues.apache.org/jira/browse/IGNITE-23415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Evgeny Stanilovsky reassigned IGNITE-23415:
-------------------------------------------
Assignee: Evgeny Stanilovsky
> NumericBinaryOperationsExecutionTest division by zero
> -----------------------------------------------------
>
> Key: IGNITE-23415
> URL: https://issues.apache.org/jira/browse/IGNITE-23415
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Reporter: Mikhail Efremov
> Assignee: Evgeny Stanilovsky
> Priority: Minor
> Labels: ignite-3
>
> *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)