[
https://issues.apache.org/jira/browse/ASTERIXDB-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15092279#comment-15092279
]
ASF subversion and git services commented on ASTERIXDB-1256:
------------------------------------------------------------
Commit 192c7b65a32164c79759af5cb651b3b2346c41df in incubator-asterixdb's branch
refs/heads/master from [~mhubail]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-asterixdb.git;h=192c7b6 ]
ASTERIXDB-1256: wait for job completion on SYNC results delivery
Change-Id: Ib8a214ba4ff636d12927720c2311a9a5ca247d9e
Reviewed-on: https://asterix-gerrit.ics.uci.edu/580
Tested-by: Jenkins <[email protected]>
Reviewed-by: Till Westmann <[email protected]>
> 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
> Assignee: 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)