asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hussain Towaileb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ASTERIXDB-2469) Testing can result in false positives for Numerical tests
Date Sun, 28 Oct 2018 02:19:00 GMT
Hussain Towaileb created ASTERIXDB-2469:
-------------------------------------------

             Summary: Testing can result in false positives for Numerical tests
                 Key: ASTERIXDB-2469
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2469
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: TEST - Test Framework
            Reporter: Hussain Towaileb
            Assignee: Hussain Towaileb


The tests for numerical values can result in false positives, like the count function example
below (current behavior):

Expected value: 3 -> Test passed -> This is correct result and correct data type.

Expected value 3.0 -> Test passed -> This is correct result but wrong data type. (Count
function returns BIGINT, this test should fail)

 

select element array_count((
 select element x
 from [1,2,3] as x
));



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message