Changes between Initial Version and Version 20 of Ticket #1049


Ignore:
Timestamp:
Aug 28, 2019, 6:18:06 PM (5 years ago)
Author:
Dimitar Misev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1049

    • Property Status newassigned
    • Property Cc Alex Dumitru removed
    • Property Priority criticalmajor
    • Property Milestone 9.1.x10.0
    • Property Owner changed from Bang Pham Huu to apercov
  • Ticket #1049 – Description

    initial v20  
    11Subsetting does not behave very consistently, depending on the actual tiles I'd say (discovered in ticket #1036).
    22
    3 We need to define exactly what the behavior of subsetting should be and make sure it's enforced.
     3Subsetting needs to conform with SQL/MDA, i.e. '''the subset must be within the array sdom'''.
    44
    5 {{{
    6 rasql -q 'select sdom(c) from rgb AS c' --out string --quiet
    7 [0:399,0:343]
     5Anything else, e.g. a subset that intersects or is completely outside of the array sdom is an exception: ''"subset S not within array domain D"''.
    86
    9 rasql -q 'select sdom(c[10:20,*:*]) from rgb AS c' --out string --quiet
    10 [10:20,0:343]
    11 
    12 rasql -q 'select sdom(c[-10:10,*:*]) from rgb AS c' --out string --quiet
    13 [0:10,0:343]
    14 
    15 rasql -q 'select sdom(c[-10:-5,*:*]) from rgb AS c' --out string --quiet
    16 rasdaman error 0: Exception: Transfer Failed
    17 
    18 rasql -q 'select sdom(c[-10:-5,0:100]) from rgb AS c' --out string --quiet
    19 [-10:-5,0:100]
    20 
    21 rasql -q 'select sdom(c[-10:-5,-10:100]) from rgb AS c' --out string --quiet
    22 [-10:-5,-10:100]
    23 
    24 rasql -q 'select sdom(c[-10:5,-10:100]) from rgb AS c' --out string --quiet
    25 [0:5,0:100]
    26 
    27 rasql -q 'select sdom(c[-10:-5,200:500]) from rgb AS c' --out string --quiet
    28 [-10:-5,200:500]
    29 
    30 rasql -q 'select sdom(c[50:100,200:500]) from rgb AS c' --out string --quiet
    31 [50:100,200:343]
    32 }}}
     7Currently we have dedicated systemtest in source:systemtest/testcases_mandatory/test_subsetting the queries should be verified that they produce the correct outputs or errors.