asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murtadha Hubail (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ASTERIXDB-1256) Invalid queries returning some results
Date Sat, 09 Jan 2016 22:46:39 GMT
Murtadha Hubail created ASTERIXDB-1256:
------------------------------------------

             Summary: Invalid queries returning some results
                 Key: ASTERIXDB-1256
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1256
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: AsterixDB
            Reporter: Murtadha Hubail
            Priority: Critical


I was investigating a sporadic failure in the test case aggregate/avg_mixed which does nothing
but executes the below query and makes sure that an exception with the message "Unexpected
type STRING in aggregation input stream. Expected type FLOAT. [AlgebricksException]" is thrown:

avg(
 for $x in [float("2.0"), "hello world", 93847382783847382, date("2013-01-01")]
 return $x
)

However, if you execute the query few times, sometimes it will return the error message as
well as some results!!
The output looks something like this:
Error:
Results:
2.0d

Message:
Unexpected type STRING in aggregation input stream. Expected type FLOAT. [AlgebricksException]



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

Mime
View raw message