Yingyi Bu created ASTERIXDB-1662:
------------------------------------
Summary: QueryServiceServlet re-arrange fields in results
Key: ASTERIXDB-1662
URL: https://issues.apache.org/jira/browse/ASTERIXDB-1662
Project: Apache AsterixDB
Issue Type: Bug
Components: HTTP API
Reporter: Yingyi Bu
Assignee: Till
Query:
{
"v1": round_half_to_even(2013),
"v2": round_half_to_even(-4036),
"v3": round_half_to_even(0.8),
"v4": round_half_to_even(float("-2013.256")),
"v5": round_half_to_even(double("-2013.893823748327284")),
"v6": round_half_to_even(double("-2013.893823748327284"), 2),
"v7": round_half_to_even(2013, 4),
"v8": round_half_to_even(float("-2013.256"), 5)
}
Output in web UI:
{ "v1": 2013, "v2": -4036, "v3": 1.0, "v4": -2013.0, "v5": -2014.0, "v6":
-2013.89, "v7": 2013, "v8": -2013.256 }
Output by the query service servlet:
{
"v6": -2013.89,
"v7": 2013,
"v8": -2013.256,
"v1": 2013,
"v2": -4036,
"v3": 1.0,
"v4": -2013.0,
"v5": -2014.0
}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)