Opened 8 years ago

Closed 7 years ago

#1572 closed defect (duplicate)

dbinfo prints the oid in scientific notation

Reported by: bbell Owned by: bbell
Priority: minor Milestone:
Component: qlparser Version: development
Keywords: Cc: Dimitar Misev
Complexity: Medium

Description

since the oid is of type double for some reason, our changes to the csv output also ended up affecting the output of dbinfo:

$ rasql -q 'select dbinfo(c) from test_clip_1GB as c' --out string
rasql: rasdaman query tool v1.0, rasdaman 9.4.0.
opening database RASBASE at localhost:7001...ok
Executing retrieval query...ok
Query result collection has 1 element(s):
  Result object 1: {
 "oid": "1.53651e+06",
 ...

one should recast the oid to long before sending it to output when calling dbinfo. (qtinfo.cc)

Change History (1)

comment:1 by Bang Pham Huu, 7 years ago

Resolution: duplicate
Status: newclosed

close as duplicate with http://rasdaman.org/ticket/1157

Note: See TracTickets for help on using tickets.