Opened 13 years ago

Closed 9 years ago

#135 closed enhancement (fixed)

Composite type creation over old types.

Reported by: Ernesto Rodriguez Owned by:
Priority: major Milestone: Future
Component: rasdl Version: 8.3
Keywords: Cc: Dirk Daems
Complexity: Medium

Description (last modified by Ernesto Rodriguez)

Defining a composite type (such as an array or set) over an existing in the database failes since the parser dosen't check for the items in the database. In other words, a type that appears in definition file 1 cannot be used in definition file 2. The attached files provide more details. This is a defect of the rasdl component of rasdaman.

Attachments (1)

types.tar.gz (212 bytes ) - added by Ernesto Rodriguez 13 years ago.
Type definition files where types2.dl depends on types.dl

Download all attachments as: .zip

Change History (9)

by Ernesto Rodriguez, 13 years ago

Attachment: types.tar.gz added

Type definition files where types2.dl depends on types.dl

comment:1 by Ernesto Rodriguez, 13 years ago

Description: modified (diff)

comment:2 by beccati@…, 13 years ago

I can confirm this issue, moreover it is not possible to redefine the type either because the component complains about struct type name already existing if you replicate the definition in the second file:

rasdl: rasdaman schema and database manipulation tool, rasdaman v8.3 on base DBMS pgsql — generated on 22.02.2012 12:30:51.
Reading rasdaman data definition file ModP20Types-tmp.dl…inserting symbols into database…EDL003 rasdaman error: 905: Evaluation error 905 in line 1, column 1, near token ModP20Pixel: Struct type name exists already.
rasdl done.

comment:3 by Peter Baumann, 12 years ago

Component: DEBrasdl
Milestone: Future
Version: 8.3

comment:4 by Dimitar Misev, 12 years ago

Cc: Dirk Daems added
Complexity: Very Hard

comment:5 by Dimitar Misev, 11 years ago

Complexity: Very HardMedium
Type: defectenhancement

Actually this should be marked as an enhancement. Struct types are not typedefs, they do not define a new type in the database, so existing ones cannot be referenced in new type definitions.

comment:6 by Peter Baumann, 10 years ago

is this still pending, or can it be closed?

comment:7 by Dimitar Misev, 10 years ago

The new implementation by George supports this, rasdl not. So depends on whether we plan on fixing it in rasdl (I'd vote we close it).

comment:8 by Dimitar Misev, 9 years ago

Resolution: fixed
Status: newclosed

We declare rasdl deprecated, so let's close.

Note: See TracTickets for help on using tickets.