Opened 9 years ago
Closed 5 years ago
#1175 closed defect (fixed)
rasql create type is not preserving the axis names
Reported by: | George Merticariu | Owned by: | dkamov |
---|---|---|---|
Priority: | minor | Milestone: | Future |
Component: | undecided | Version: | development |
Keywords: | Cc: | Peter Baumann | |
Complexity: | Medium |
Description
Example:
./rasql -q 'create type RGBImageTest as RGBPixel MDARRAY [a,b,c]'
./rasql -q 'select a FROM RAS_MARRAY_TYPES a' —out string → gives back: "create type RGBImageTest as RGBPixel MDARRAY [a0,a1,a2]"
The expected result should be identical with the user input.
Change History (5)
comment:1 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 5 years ago
Owner: | changed from | to
---|
comment:3 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 by , 5 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
The database update scripts should be updated so that they are idempotent: if the table already has a column AxisName the update should not try to add again the same column.
comment:5 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.
The axis names should be saved in RASBASE when an MDD type is created, and loaded when the MDD type is read.
This should be implemented in some of the relcatalogif/mdd*.sc files.
The correct RASBASE table where MDD types are stored should be extended to allow storing the axis names for each dimension, with an update SQL script in reladminif/db_updates/