#1119 closed defect (fixed)

adjust rasql type definition syntax to rasdl syntax

Reported by: pbaumann Owned by: gmerticariu
Priority: critical Milestone: 9.2
Component: qlparser Version: development
Keywords: Cc: dmisev
Complexity: Easy

Description (last modified by pbaumann)

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 Changed 19 months ago by gmerticariu

Should this complement the existing syntax to also support the rasdl syntax?

comment:2 Changed 19 months ago by pbaumann

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 Changed 19 months ago by pbaumann

  • Description modified (diff)

comment:4 Changed 19 months ago by gmerticariu

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 Changed 19 months ago by dmisev

The above doesn't look very good.. I'd vote for create type rather than typedef.

comment:6 Changed 18 months ago by gmerticariu

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.