[
https://issues.apache.org/jira/browse/ASTERIXDB-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hussain Towaileb updated ASTERIXDB-2469:
----------------------------------------
Fix Version/s: 0.9.5
> 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
> Affects Versions: 0.9.4
> Reporter: Hussain Towaileb
> Assignee: Hussain Towaileb
> Priority: Major
> Fix For: 0.9.5
>
>
> 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)