asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Maxon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ASTERIXDB-1078) Refactor testing framework to compare expected results as ADMs
Date Fri, 11 Sep 2015 23:54:46 GMT

     [ https://issues.apache.org/jira/browse/ASTERIXDB-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ian Maxon updated ASTERIXDB-1078:
---------------------------------
    Priority: Major  (was: Minor)

> Refactor testing framework to compare expected results as ADMs
> --------------------------------------------------------------
>
>                 Key: ASTERIXDB-1078
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1078
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: AsterixDB
>            Reporter: Ildar Absalyamov
>            Assignee: Ian Maxon
>
> The current version of testing framework uses string comparison to ensure that the test
results are equivalent to the expected.
> To ignore some query-time specific information in the result (such as Timestamp) it just
uses String.split and compares the result prefix with the expected value.
> Due to the fact that Timestamp field is the last field in closed part of the record,
and specifics of the ADM record serialization (open fields are always written in the end),
the result comparator completely ignores the values of the open fields.
> Testing framework should compare results in ADM format, respecting semantics such as:
> 1) Ignoring order of the values in bags
> 2) Ignoring value of Timestamp field
> 3) Applying numeric conversions (0.1 vs 1e-1)
> 4) etc



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message