Opened 9 years ago
Closed 9 years ago
#1119 closed defect (fixed)
adjust rasql type definition syntax to rasdl syntax
Reported by: | Peter Baumann | Owned by: | George Merticariu |
---|---|---|---|
Priority: | critical | Milestone: | 9.2 |
Component: | qlparser | Version: | development |
Keywords: | Cc: | Dimitar Misev | |
Complexity: | Easy |
Description (last modified by )
The rasql "create type" syntax is incompatible with all other syntax items in rasdaman, it needs to work exactly as in rasdl.
Change History (6)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
yes. The other syntax we can leave, but I will not advertise it now in the QL Guide. We first need to have more comprehensive support for SQL/MDA.
comment:3 by , 9 years ago
Description: | modified (diff) |
---|
comment:4 by , 9 years ago
The rasdl syntax should be mirrored exactly in rasql? Please see example below.
./rasql -q 'struct RGBPixel { char red, char green, char blue}'
./rasql -q 'typedef marray <RGBPixel, 2> RGBImage'
./rasql -q 'typedef set <RGBImage> RGBSet'
comment:5 by , 9 years ago
The above doesn't look very good.. I'd vote for create type
rather than typedef
.
comment:6 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Should this complement the existing syntax to also support the rasdl syntax?