Evgeny Stanilovsky created IGNITE-20130:
-------------------------------------------

             Summary: Sql. Align input parameters for numeric casting tests.
                 Key: IGNITE-20130
                 URL: https://issues.apache.org/jira/browse/IGNITE-20130
             Project: Ignite
          Issue Type: Improvement
          Components: sql
    Affects Versions: 3.0.0-beta1
            Reporter: Evgeny Stanilovsky


Test functions did the same thing: tries to cast into different precision, 
scale NUMERIC but touches different functionality layers - first call calcite 
runtime through _assertQuery_, second just call 
_IgniteSqlFunctions.toBigDecimal_
ItDataTypesTest#decimalCastFromLiterals
IgniteSqlFunctionsTest#testConvertDecimal

seems they all need to have the same input dataset.
A simple approach is to move testConvertDecimal logic and resultset into 
ItDataTypesTest or different new class.



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

Reply via email to