namhnguyen / asterixdb

Automatically exported from code.google.com/p/asterixdb
0 stars 0 forks source link

string() constructor provides unexpected results #852

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Given this query: 

let $a:=1
let $b:=2
let $c:=[$a,$b]
for $x in $c return string($x)

The output in current master is: 

"1"
"1\u0000\u00002"

Which is really weird. This may be why the string constructor isn't documented. 
However if it is this weird at the moment, we may want to hide it or fix it. 

Original issue reported on code.google.com by ima...@uci.edu on 18 Feb 2015 at 1:21

GoogleCodeExporter commented 9 years ago

Original comment by wangs...@gmail.com on 27 Feb 2015 at 12:31

GoogleCodeExporter commented 9 years ago

Original comment by wangs...@gmail.com on 27 Feb 2015 at 1:55

GoogleCodeExporter commented 9 years ago

Original comment by wangs...@gmail.com on 6 Mar 2015 at 4:43