Opened 3 months ago

Closed 8 days 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: dmisev
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 Changed 8 days ago by bphamhuu

  • Resolution set to duplicate
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.