Opened 5 years ago

Last modified 5 years ago

#2117 closed enhancement

rasql - retrieve collection's set type via dbinfo() — at Version 1

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 (1)

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
Note: See TracTickets for help on using tickets.