Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#122 closed defect (fixed)

Error retrieving data from fragmented collections

Reported by: barboni@… Owned by: dmisev
Priority: critical Milestone: 8.4
Component: rasserver Version: 8.3
Keywords: rasql, sdom Cc: beccati@…
Complexity: Medium

Description

I have an object that is composed by sparse images.
The object have a very large space domain but lots of holes.
When i request data inside the spacial domain, if there aren't valid
images, rasdaman return an error.

The following query reproduce (and emphasize) the problem.
#insert first image at [0,0]
rasql -q "insert into mr values inv_tiff(\$1)" -f mr_1.tif --user
rasadmin --passwd rasadmin
#insert second image at [100000,100000]
rasql -q "update mr as m set m assign shift(inv_tiff(\
$1),[100000,100000]) where oid(m)=31745" -f mr_1.tif --user rasadmin
--passwd rasadmin
#check sdom
rasql -q "select sdom(m) from mr as m where oid(m)=31745" --out string
Result element 1: [0:100255,0:100210]
#select between the two images inserted
rasql -q "select tiff(m[50000:50100,50000:50100]) from mr as m where
oid(m)=31745" --out file
Executing retrieval query...rasdaman error 356: Execution error 356 in
line 0, column 0, near token : Specified domain does not intersect with
spatial domain of MDD.

The expected output is a tiff image filled by "NULLVALUE"

Follows the error logged by rasdaman and the OS details.

Ciao

Damiano

[2012-02-21 14:36:49] request from 192.168.0.187
Request: 'select tiff(m[50000:50100,50000:50100]) from mr as m where
oid(m)=31745'...parsing...checking semantics...evaluating...Error:
QtDomainOperation::evaluate() - the load domain does not intersect with
tiles in the current MDD.
QueryTree::evaluateTree() - rethrow exception.
Error: cannot parse query (1).
Error number: 356 Token: Line: 0 Column: 0
[2012-02-21 14:36:49] request completed in 179970 usecs.

Rasdaman Info:
Rasdaman v 8.3
commit 7d94ed6abfd88fd26141ecbd595bd6bf478a1a5b
Date: Tue Feb 14 15:17:38 2012 +0100

OS info:
lsb_release -a
LSB
Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: Scientific
Description: Scientific Linux release 6.0 (Carbon)
Release: 6.0
Codename: Carbon

gcc --version
gcc (GCC) 4.4.4 20100726 (Red Hat 4.4.4-13)
Copyright (C) 2010 Free Software Foundation, Inc.

Change History (6)

comment:1 Changed 5 years ago by dmisev

  • Owner set to dmisev
  • Status changed from new to accepted

comment:2 Changed 5 years ago by dmisev

  • Resolution set to fixed
  • Status changed from accepted to closed

Submitted patch

comment:3 Changed 5 years ago by barboni@…

Ciao Dimitar and thanks

I can confirm that Ticket #122 is closed.
I tested this issue today, also with 3D collection, and now Rasdaman works well.

Damiano

comment:4 Changed 5 years ago by dmisev

  • Priority changed from major to critical
  • Resolution fixed deleted
  • Status changed from closed to reopened

The bug still persist with float data.

comment:5 Changed 5 years ago by dmisev

  • Resolution set to fixed
  • Status changed from reopened to closed

I hope the latest patch fixes it.

comment:6 Changed 4 years ago by dmisev

  • Complexity set to Medium
  • Milestone set to 8.4
Note: See TracTickets for help on using tickets.