Opened 7 years ago
Last modified 7 years ago
#1612 closed defect
Petascope_Error when creating the duplicate type for cell/mdd/set after restarting petascope — at Initial Version
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 9.5 |
Component: | petascope | Version: | development |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu | |
Complexity: | Medium |
Description
When ingesting a coverage (create first then update), Petascope already created a cell/mdd/set for this collection, e.g:
CREATE TYPE test_ansidate_different_crs_origin_Cell AS ( band0 long ,band1 long )
and after that, user can update this coverage without problem. But if user restarts petascope, then when trying to update this coverage with wcst_import, it will throw exception
<ows:ExceptionReport version="2.0.1" xsi:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd" xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink"> <ows:Exception exceptionCode="RasdamanRequestFailed"> <ows:ExceptionText>Error evaluating rasdaman query: 'CREATE TYPE test_ansidate_different_crs_origin_Cell AS ( band0 long ,band1 long )'</ows:ExceptionText> </ows:Exception> </ows:ExceptionReport>
due to this type already exists
rasql -q 'CREATE TYPE test_ansidate_different_crs_origin_Cell AS ( band0 long ,band1 long )' --user rasadmin --passwd rasadmin rasql: rasdaman query tool v1.0, rasdaman 9.4.0. opening database RASBASE at localhost:7001...ok Executing update query...rasdaman error 969: Update error 969 in line 1, column 1, near token test_ansidate_different_crs_origin_Cell: Type already exists. aborting transaction...ok
Note:
See TracTickets
for help on using tickets.