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 )
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)
Change History (9)
by , 13 years ago
Attachment: | types.tar.gz added |
---|
comment:1 by , 13 years ago
Description: | modified (diff) |
---|
comment:2 by , 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 , 12 years ago
Component: | DEB → rasdl |
---|---|
Milestone: | → Future |
Version: | → 8.3 |
comment:4 by , 12 years ago
Cc: | added |
---|---|
Complexity: | → Very Hard |
comment:5 by , 11 years ago
Complexity: | Very Hard → Medium |
---|---|
Type: | defect → enhancement |
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:7 by , 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 , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
We declare rasdl deprecated, so let's close.
Type definition files where types2.dl depends on types.dl