Changes between Initial Version and Version 1 of Ticket #2117


Ignore:
Timestamp:
Jul 17, 2019, 2:43:53 PM (5 years ago)
Author:
Dimitar Misev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2117

    • Property Cc Dimitar Misev added; d removed
    • Property Owner changed from Dimitar Misev to apercov
    • Property Component rasqlqlparser
    • Property Status newassigned
  • Ticket #2117 – Description

    initial v1  
    1 Currently, there is no way to know which set type was created for a collection. It should be added to result of dbinfo().
     1Currently, there is no way to know which set type was created for a collection. It should be added to result of dbinfo(). Example query:
     2
     3{{{
     4$ rasql -q 'select dbinfo(c) from mr2 as c' --out string
     5...
     6Query result collection has 1 element(s):
     7  Result object 1: {
     8 "oid": "63489",
     9 "baseType": "marray <char, [*:*,*:*]>",
     10 "tileNo": "1",
     11 "totalSize": "54016",
     12 "tiling": {
     13        "tilingScheme": "aligned",
     14        "tileSize": "4194304",
     15        "tileConfiguration": "[0:*,0:*]"
     16 },
     17 "index": {
     18        "type": "rpt_index",
     19        "PCTmax": "4096",
     20        "PCTmin": "2048"
     21 }
     22}
     23}}}
     24To this output a `"setTypeName": "GreySet"` should be added.
     25
     26Bonus points: add a `"mddTypeName": "GreyImage"` as well.
     27
     28The relevant code is in source:qlparser/qtinfo.cc