Opened 5 years ago

Closed 5 years ago

#2117 closed enhancement (fixed)

rasql - retrieve collection's set type via dbinfo()

Reported by: Bang Pham Huu Owned by: apercov
Priority: major Milestone: 10.0
Component: qlparser Version: 9.8
Keywords: Cc: Dimitar Misev
Complexity: Medium

Description (last modified by Dimitar Misev)

Currently, there is no way to know which set type was created for a collection. It should be added to result of dbinfo(). Example query:

$ rasql -q 'select dbinfo(c) from mr2 as c' --out string
...
Query result collection has 1 element(s):
  Result object 1: {
 "oid": "63489",
 "baseType": "marray <char, [*:*,*:*]>",
 "tileNo": "1",
 "totalSize": "54016",
 "tiling": {
	"tilingScheme": "aligned",
	"tileSize": "4194304",
	"tileConfiguration": "[0:*,0:*]"
 },
 "index": {
	"type": "rpt_index",
	"PCTmax": "4096",
	"PCTmin": "2048"
 }
}

To this output a "setTypeName": "GreySet" should be added.

Bonus points: add a "mddTypeName": "GreyImage" as well.

The relevant code is in source:qlparser/qtinfo.cc

Change History (3)

comment:1 by Dimitar Misev, 5 years ago

Cc: Dimitar Misev added; d removed
Component: rasqlqlparser
Description: modified (diff)
Owner: changed from Dimitar Misev to apercov
Status: newassigned

comment:2 by apercov, 5 years ago

Status: assignedaccepted

comment:3 by Dimitar Misev, 5 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.