You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Hussain Towaileb (JIRA)" <ji...@apache.org> on 2018/10/28 02:19:00 UTC
[jira] [Created] (ASTERIXDB-2469) Testing can result in false
positives for Numerical tests
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)