Evgeny Stanilovsky created IGNITE-22890:
-------------------------------------------

             Summary: Sql. Fix serialisation\deserealisation check in 
AbstractPlannerTest.checkSplitAndSerialization
                 Key: IGNITE-22890
                 URL: https://issues.apache.org/jira/browse/IGNITE-22890
             Project: Ignite
          Issue Type: Improvement
          Components: sql
    Affects Versions: 3.0.0-beta1
            Reporter: Evgeny Stanilovsky


At this time SqlTestUtils#generateValueByType is used in *TypeCoercionTest 
test, this function is not take into account precision\scale for DECIMAL types 
and returns:

{noformat}
            case DECIMAL:
                return BigDecimal.valueOf(base + ((double) base / 
1000)).add(BigDecimal.valueOf(Long.MAX_VALUE));
{noformat}

Seems we need to fix it, for more accurate tests approach.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to