br1ghtyang / asterixdb

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

Result of count query is represented with redundant extension #514

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Executing count query against a dataset with ~32 million records, returns 
correct result, but the *representation* of number is not desired (has a 
redundant i64 extension) - probably the root cause of the problem is in 
deserializer of int64. 

Here is the result on web-UI: 32011818i64

Here is the query:

count(
for $t in dataset FacebookUsers
return $t
)

Original issue reported on code.google.com by pouria.p...@gmail.com on 6 Jun 2013 at 5:21

GoogleCodeExporter commented 8 years ago
If the return value needs to be fixed, to truncate the "i64" suffix, then we 
will have to fix the int64 constructor too. Some time back we discussed and 
this type of return value was expected behavior, not sure if that decision is 
now changed.

let $i64 := int64("32011818")
return $i64

returns 
32011818i64

Original comment by khfaraaz82 on 11 Jun 2013 at 3:53

GoogleCodeExporter commented 8 years ago
Now, "i64" suffix is gone.

Original comment by wangs...@gmail.com on 11 Dec 2014 at 6:49

GoogleCodeExporter commented 8 years ago

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