Opened 9 years ago

Closed 9 years ago

#1115 closed defect (invalid)

rasql type management syntax

Reported by: Dimitar Misev Owned by: George Merticariu
Priority: minor Milestone: 9.2
Component: qlparser Version: development
Keywords: Cc: Peter Baumann
Complexity: Easy

Description (last modified by Dimitar Misev)

We should consider whether the curly braces and comma in type definitions should be dropped, e.g. this example:

CREATE TYPE RGBImage
UNDER MARRAY {
RGBPixel
} , [*:* ,*:*]

would rather be:

CREATE TYPE RGBImage
UNDER MARRAY RGBPixel [*:* ,*:*]

We should check if they are optional in the SQL standard. We could make them optional in any case.

In the set type creation there is no comma to separate the null values clause:

CREATE TYPE typeName
UNDER SET {
marrayTypeName
} [ NULL VALUES spatialDomain ]

Change History (2)

comment:1 by Dimitar Misev, 9 years ago

Description: modified (diff)

comment:2 by George Merticariu, 9 years ago

Resolution: invalid
Status: newclosed

Ticket 1119 will change the create type syntax.

Note: See TracTickets for help on using tickets.